mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Initial commit for sqlalchemy2.0 migration
This commit is contained in:
@@ -17,9 +17,9 @@ down_revision = "0307_delete_dm_datetime"
|
||||
|
||||
def upgrade():
|
||||
conn = op.get_bind()
|
||||
conn.execute("DELETE FROM provider_details WHERE identifier = 'loadtesting'")
|
||||
conn.execute(text("DELETE FROM provider_details WHERE identifier = 'loadtesting'"))
|
||||
conn.execute(
|
||||
"DELETE FROM provider_details_history WHERE identifier = 'loadtesting'"
|
||||
text("DELETE FROM provider_details_history WHERE identifier = 'loadtesting'")
|
||||
)
|
||||
|
||||
|
||||
@@ -40,5 +40,5 @@ def downgrade():
|
||||
(:uuid, 'Loadtesting', 'loadtesting', 100, 'sms', true, 1, false)
|
||||
"""
|
||||
),
|
||||
uuid=uuid.uuid4(),
|
||||
{"uuid": str(uuid.uuid4())},
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user