Skip to content

Commit

Permalink
Removed default now() dates in migration scripts for FilingPeriod
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed Jan 17, 2024
1 parent c469bba commit 2ad577f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ def upgrade() -> None:
"filing_period",
sa.Column("id", sa.INTEGER, primary_key=True, autoincrement=True),
sa.Column("name", sa.String, nullable=False),
sa.Column("start_period", sa.DateTime, server_default=sa.func.now(), nullable=False),
sa.Column("end_period", sa.DateTime, server_default=sa.func.now(), nullable=False),
sa.Column("due", sa.DateTime, server_default=sa.func.now(), nullable=False),
sa.Column("start_period", sa.DateTime, nullable=False),
sa.Column("end_period", sa.DateTime, nullable=False),
sa.Column("due", sa.DateTime, nullable=False),
sa.Column("filing_type", sa.Enum("MANUAL", name="filingtype"), server_default="MANUAL"),
)

Expand Down

0 comments on commit 2ad577f

Please sign in to comment.