Drop service branding column

We’re not using this column any more, so let’s clean up after ourselves.
This commit is contained in:
Chris Hill-Scott
2018-08-30 16:51:53 +01:00
parent 80de4d2ded
commit 834ad73304

View File

@@ -0,0 +1,23 @@
"""
Revision ID: 0222_drop_service_branding
Revises: 0221_nullable_service_branding
Create Date: 2018-08-24 13:36:49.346156
"""
from alembic import op
import sqlalchemy as sa
revision = '0222_drop_service_branding'
down_revision = '0221_nullable_service_branding'
def upgrade():
op.drop_column('services_history', 'branding')
op.drop_column('services', 'branding')
def downgrade():
op.add_column('services', sa.Column('branding', sa.String(length=255)))
op.add_column('services_history', sa.Column('branding', sa.String(length=255)))