Move data back before dropping the column for downgrade

This commit is contained in:
Pea Tyczynska
2018-07-27 10:29:58 +01:00
parent c5792f4d79
commit f69bc50985

View File

@@ -23,5 +23,6 @@ def upgrade():
def downgrade():
# ### commands auto generated by Alembic - please adjust! ###
op.execute('UPDATE email_branding SET name = text')
op.drop_column('email_branding', 'text')
# ### end Alembic commands ###