Skip to content

Commit

Permalink
[DOP-22401] Fix sqlalchemy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfinus committed Feb 4, 2025
1 parent 970bc75 commit b69a036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_rentgen/db/models/custom_user_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ class CustomUserProperties(Base):

during: Mapped[TSTZRANGE] = mapped_column(
TSTZRANGE,
server_defaults=text("tstzrange(now(), NULL, '[)')"),
server_default=text("tstzrange(now(), NULL, '[)')"),
nullable=False,
)

0 comments on commit b69a036

Please sign in to comment.