mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
Move data back before dropping the column for downgrade
This commit is contained in:
@@ -23,5 +23,6 @@ def upgrade():
|
|||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
|
op.execute('UPDATE email_branding SET name = text')
|
||||||
op.drop_column('email_branding', 'text')
|
op.drop_column('email_branding', 'text')
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|||||||
Reference in New Issue
Block a user