mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -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))
|
||||
|
||||
# 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='notification_history'))
|
||||
|
||||
Reference in New Issue
Block a user