Skip to content

Commit

Permalink
Add default value to cancelled column (#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
seallard authored Aug 5, 2024
1 parent e6390ed commit f05936c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
def upgrade():
op.add_column(
table_name="sample",
column=sa.Column("is_cancelled", sa.Boolean(), nullable=False, default=False),
column=sa.Column("is_cancelled", sa.Boolean(), nullable=False, server_default=sa.false()),
)


Expand Down

0 comments on commit f05936c

Please sign in to comment.