mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-10 23:32:27 -05:00
22 lines
558 B
Python
22 lines
558 B
Python
"""
|
|
Revision ID: 0222_drop_service_branding
|
|
Revises: 0221_nullable_service_branding
|
|
Create Date: 2018-08-24 13:36:49.346156
|
|
"""
|
|
|
|
import sqlalchemy as sa
|
|
from alembic import op
|
|
|
|
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)))
|