Fix migration error

This commit is contained in:
rubenwardy 2018-05-25 19:07:27 +01:00
parent fb2552ab55
commit cb5ee04b98
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
2 changed files with 2 additions and 2 deletions

@ -18,7 +18,7 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('package', sa.Column('soft_deleted', sa.Boolean(), nullable=False))
op.add_column('package', sa.Column('soft_deleted', sa.Boolean(), nullable=False, server_default="false"))
# ### end Alembic commands ###

@ -18,7 +18,7 @@ depends_on = None
def upgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('package_screenshot', sa.Column('approved', sa.Boolean(), nullable=False, server_default=True))
op.add_column('package_screenshot', sa.Column('approved', sa.Boolean(), nullable=False, server_default="true"))
# ### end Alembic commands ###