Files
notifications-api/migrations/versions/0105_opg_letter_org.py

31 lines
589 B
Python
Raw Normal View History

"""empty message
Revision ID: 0105_opg_letter_org
2023-07-19 09:19:40 -07:00
Revises: 0103_add_historical_redact
Create Date: 2017-06-29 12:44:16.815039
"""
# revision identifiers, used by Alembic.
2023-08-29 14:54:30 -07:00
revision = "0105_opg_letter_org"
down_revision = "0103_add_historical_redact"
import sqlalchemy as sa
from alembic import op
from flask import current_app
from sqlalchemy.dialects import postgresql
def upgrade():
2023-08-29 14:54:30 -07:00
op.execute(
"""
INSERT INTO dvla_organisation VALUES
('002', 'Office of the Public Guardian')
2023-08-29 14:54:30 -07:00
"""
)
def downgrade():
# data migration, no downloads
pass