mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
fix typo in downgrade
This commit is contained in:
@@ -47,7 +47,7 @@ def downgrade():
|
|||||||
op.execute('ALTER TYPE {enum} RENAME TO {tmp_name}'.format(enum=enum_name, tmp_name=tmp_name))
|
op.execute('ALTER TYPE {enum} RENAME TO {tmp_name}'.format(enum=enum_name, tmp_name=tmp_name))
|
||||||
|
|
||||||
# Convert 'sent' template into 'sending'
|
# Convert 'sent' template into 'sending'
|
||||||
update_str = "UPDATE TABLE {table} SET status='sending' where status='sent'"
|
update_str = "UPDATE {table} SET status='sending' where status='sent'"
|
||||||
|
|
||||||
op.execute(update_str.format(table='notifications'))
|
op.execute(update_str.format(table='notifications'))
|
||||||
op.execute(update_str.format(table='notification_history'))
|
op.execute(update_str.format(table='notification_history'))
|
||||||
|
|||||||
Reference in New Issue
Block a user