mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 08:29:50 -04:00
reformat
This commit is contained in:
@@ -7,24 +7,28 @@ Create Date: 2017-03-10 16:15:22.153948
|
||||
"""
|
||||
|
||||
# revision identifiers, used by Alembic.
|
||||
revision = '0070_fix_notify_user_email'
|
||||
down_revision = '0069_add_dvla_job_status'
|
||||
revision = "0070_fix_notify_user_email"
|
||||
down_revision = "0069_add_dvla_job_status"
|
||||
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
def upgrade():
|
||||
op.execute("""
|
||||
op.execute(
|
||||
"""
|
||||
UPDATE users
|
||||
SET email_address = 'testsender@dispostable.com'
|
||||
WHERE email_address = 'notify-service-user@digital.cabinet-office'
|
||||
""")
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
def downgrade():
|
||||
op.execute("""
|
||||
op.execute(
|
||||
"""
|
||||
UPDATE users
|
||||
SET email_address = 'notify-service-user@digital.cabinet-office'
|
||||
WHERE email_address = 'testsender@dispostable.com'
|
||||
""")
|
||||
"""
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user