mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Add OPG to letter organisations
Logo was added here: https://github.com/alphagov/notifications-template-preview/pull/19
This commit is contained in:
committed by
venusbb
parent
8b04039a5a
commit
ce96d59cf4
28
migrations/versions/0105_opg_letter_org.py
Normal file
28
migrations/versions/0105_opg_letter_org.py
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
"""empty message
|
||||||
|
|
||||||
|
Revision ID: 0105_opg_letter_org
|
||||||
|
Revises: 0104_more_letter_orgs
|
||||||
|
Create Date: 2017-06-29 12:44:16.815039
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '0105_opg_letter_org'
|
||||||
|
down_revision = '0104_more_letter_orgs'
|
||||||
|
|
||||||
|
from alembic import op
|
||||||
|
import sqlalchemy as sa
|
||||||
|
from sqlalchemy.dialects import postgresql
|
||||||
|
from flask import current_app
|
||||||
|
|
||||||
|
|
||||||
|
def upgrade():
|
||||||
|
op.execute("""
|
||||||
|
INSERT INTO dvla_organisation VALUES
|
||||||
|
('002', 'Office of the Public Guardian')
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
# data migration, no downloads
|
||||||
|
pass
|
||||||
Reference in New Issue
Block a user