mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 02:11:11 -05:00
Working on getting tests working.
Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
22
migrations/versions/0404_expire_invites.py
Normal file
22
migrations/versions/0404_expire_invites.py
Normal file
@@ -0,0 +1,22 @@
|
||||
"""
|
||||
|
||||
Revision ID: 0404_expire_invites
|
||||
Revises: 0403_add_carrier
|
||||
Create Date: 2023-11-10 15:52:07.348485
|
||||
|
||||
"""
|
||||
from re import I
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
revision = "0404_expire_invites"
|
||||
down_revision = "0403_add_carrier"
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.execute("insert into invite_status_type values ('expired')")
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.execute("delete from invite_status_type where name = 'expired'")
|
||||
Reference in New Issue
Block a user