mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 06:32:11 -05:00
35 lines
736 B
Python
35 lines
736 B
Python
"""empty message
|
|
|
|
Revision ID: 0070_fix_notify_user_email
|
|
Revises: 0069_add_dvla_job_status
|
|
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"
|
|
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
|
|
def upgrade():
|
|
op.execute(
|
|
"""
|
|
UPDATE users
|
|
SET email_address = 'testsender@dispostable.com'
|
|
WHERE email_address = 'notify-service-user@digital.cabinet-office'
|
|
"""
|
|
)
|
|
|
|
|
|
def downgrade():
|
|
op.execute(
|
|
"""
|
|
UPDATE users
|
|
SET email_address = 'notify-service-user@digital.cabinet-office'
|
|
WHERE email_address = 'testsender@dispostable.com'
|
|
"""
|
|
)
|