fix: alembic migration non-optional field (#2528)
This commit is contained in:
@@ -21,7 +21,7 @@ depends_on: Union[str, Sequence[str], None] = None
|
||||
|
||||
def upgrade() -> None:
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
op.add_column("block", sa.Column("preserve_on_migration", sa.Boolean(), nullable=False))
|
||||
op.add_column("block", sa.Column("preserve_on_migration", sa.Boolean(), nullable=True))
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user