fix: workaround db migration error when adding custom_disclaimer column to recommended_apps (#4518)
Co-authored-by: takatost <takatost@gmail.com>
This commit is contained in:
parent
4086f5051c
commit
3a51f2a778
2 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ depends_on = None
|
|||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('recommended_apps', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('custom_disclaimer', sa.String(length=255), nullable=False))
|
||||
batch_op.add_column(sa.Column('custom_disclaimer', sa.String(length=255), nullable=True))
|
||||
|
||||
with op.batch_alter_table('sites', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('custom_disclaimer', sa.String(length=255), nullable=True))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue