mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 07:12:20 -05:00
Drop service branding column
We’re not using this column any more, so let’s clean up after ourselves.
This commit is contained in:
23
migrations/versions/0222_drop_service_branding.py
Normal file
23
migrations/versions/0222_drop_service_branding.py
Normal 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)))
|
||||
Reference in New Issue
Block a user