mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-05 02:41:14 -05:00
add UKVI as first organisation branding
This commit is contained in:
@@ -33,6 +33,13 @@ def upgrade():
|
|||||||
op.add_column('services_history', sa.Column('organisation_id', postgresql.UUID(as_uuid=True)))
|
op.add_column('services_history', sa.Column('organisation_id', postgresql.UUID(as_uuid=True)))
|
||||||
|
|
||||||
op.execute("INSERT INTO branding_type VALUES ('govuk'), ('org'), ('both')")
|
op.execute("INSERT INTO branding_type VALUES ('govuk'), ('org'), ('both')")
|
||||||
|
# insert UKVI data as initial test data. hex and crest pulled from alphagov/whitehall
|
||||||
|
op.execute("""INSERT INTO organisation VALUES (
|
||||||
|
'9d25d02d-2915-4e98-874b-974e123e8536',
|
||||||
|
'#9325b2',
|
||||||
|
'ho_crest_27px_x2.png',
|
||||||
|
'UK Visas and Immigration'
|
||||||
|
)""")
|
||||||
op.execute("UPDATE services SET branding='govuk'")
|
op.execute("UPDATE services SET branding='govuk'")
|
||||||
op.execute("UPDATE services_history SET branding='govuk'")
|
op.execute("UPDATE services_history SET branding='govuk'")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user