mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-11 10:28:55 -04:00
Add more organisations for letter branding
> The logos are now ready to go on DVLA side- so far we've got: > 001 = HM Government > 002 = OPG > 003 = DWP > 004 = GEO
This commit is contained in:
committed by
venusbb
parent
b2651180eb
commit
1bd5e88979
@@ -0,0 +1,28 @@
|
|||||||
|
"""empty message
|
||||||
|
|
||||||
|
Revision ID: 0104_more_letter_orgs
|
||||||
|
Revises: 0103_add_historical_redact
|
||||||
|
Create Date: 2017-06-29 12:44:16.815039
|
||||||
|
|
||||||
|
"""
|
||||||
|
|
||||||
|
# revision identifiers, used by Alembic.
|
||||||
|
revision = '0104_more_letter_orgs'
|
||||||
|
down_revision = '0103_add_historical_redact'
|
||||||
|
|
||||||
|
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
|
||||||
|
('003', 'Department for Work and Pensions'),
|
||||||
|
('004', 'Government Equalities Office')
|
||||||
|
""")
|
||||||
|
|
||||||
|
|
||||||
|
def downgrade():
|
||||||
|
# data migration, no downloads
|
||||||
|
pass
|
||||||
Reference in New Issue
Block a user