mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 09:19:48 -04:00
Initial commit for sqlalchemy2.0 migration
This commit is contained in:
@@ -29,7 +29,7 @@ def upgrade():
|
||||
values(:service_id, 'test', :provider, now(), null)
|
||||
"""
|
||||
conn = op.get_bind()
|
||||
results = conn.execute(sql)
|
||||
results = conn.execute(text(sql))
|
||||
restrictions = results.fetchall()
|
||||
for x in restrictions:
|
||||
input_params = {"service_id": x.service_id, "provider": x.provider}
|
||||
|
||||
Reference in New Issue
Block a user