mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 04:53:12 -04:00
@@ -29,7 +29,7 @@ def upgrade():
|
|||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
op.execute(f"DELETE FROM invited_users WHERE status = 'expired'")
|
op.execute(f"DELETE FROM invited_users WHERE status in ('expired')")
|
||||||
|
|
||||||
op.execute(f"ALTER TYPE {enum_name} RENAME TO {tmp_name}")
|
op.execute(f"ALTER TYPE {enum_name} RENAME TO {tmp_name}")
|
||||||
old_type.create(op.get_bind())
|
old_type.create(op.get_bind())
|
||||||
|
|||||||
Reference in New Issue
Block a user