mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 14:42:24 -05:00
@@ -29,7 +29,7 @@ def upgrade():
|
||||
|
||||
|
||||
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}")
|
||||
old_type.create(op.get_bind())
|
||||
|
||||
Reference in New Issue
Block a user