Files
notifications-api/migrations/versions/0026_rename_notify_service.py

33 lines
825 B
Python
Raw Normal View History

2016-06-07 09:55:10 +01:00
"""empty message
Revision ID: 0026_rename_notify_service
Revises: 0025_notify_service_data
Create Date: 2016-06-07 09:51:07.343334
"""
# revision identifiers, used by Alembic.
2023-08-29 14:54:30 -07:00
revision = "0026_rename_notify_service"
down_revision = "0025_notify_service_data"
2016-06-07 09:55:10 +01:00
import sqlalchemy as sa
from alembic import op
2016-06-07 09:55:10 +01:00
def upgrade():
### commands auto generated by Alembic - please adjust! ###
op.get_bind()
2023-08-29 14:54:30 -07:00
op.execute(
"update services set name = 'GOV.UK Notify' where id = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'"
)
op.execute(
"update services_history set name = 'GOV.UK Notify' where id = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'"
)
2016-06-07 09:55:10 +01:00
### end Alembic commands ###
def downgrade():
### commands auto generated by Alembic - please adjust! ###
pass
### end Alembic commands ###