mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-22 16:31:15 -05:00
fix for failing tests
This commit is contained in:
@@ -7,8 +7,8 @@ Create Date: 2023-05-23 10:03:10.485368
|
||||
"""
|
||||
import sqlalchemy as sa
|
||||
from alembic import op
|
||||
from sqlalchemy.dialects import postgresql
|
||||
from sqlalchemy import text
|
||||
from sqlalchemy.dialects import postgresql
|
||||
|
||||
revision = "0395_remove_intl_letters_perm"
|
||||
down_revision = "0394_remove_contact_list"
|
||||
|
||||
@@ -469,7 +469,8 @@ def upgrade():
|
||||
postgresql_using=enum_using("notification_type", NotificationType),
|
||||
)
|
||||
# Clobbering bad data here. These are values we don't use any more, and anything with them is unnecessary.
|
||||
op.execute("""
|
||||
op.execute(
|
||||
"""
|
||||
delete from
|
||||
service_permissions
|
||||
where
|
||||
@@ -480,7 +481,8 @@ def upgrade():
|
||||
'international_letters',
|
||||
'broadcast'
|
||||
);
|
||||
""")
|
||||
"""
|
||||
)
|
||||
op.alter_column(
|
||||
"service_permissions",
|
||||
"permission",
|
||||
|
||||
Reference in New Issue
Block a user