Skip to content

Commit

Permalink
Fix the broken migration
Browse files Browse the repository at this point in the history
  • Loading branch information
meln1k committed Aug 7, 2024
1 parent 3860e35 commit 84aef81
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 34 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@


def upgrade() -> None:
op.add_column("cloud_account", sa.Column("last_scan_resources_errors", sa.Integer(), nullable=False))
op.add_column(
"cloud_account", sa.Column("last_scan_resources_errors", sa.Integer(), nullable=False, server_default="0")
)
op.add_column(
"cloud_account", sa.Column("last_degraded_scan_started_at", UTCDateTime(timezone=True), nullable=True)
)

This file was deleted.

0 comments on commit 84aef81

Please sign in to comment.