"""Add agency_code to SQS

Revision ID: 3c9318eed2ef
Revises: 7ac94529d32e
Create Date: 2018-04-16 12:31:34.814217

"""

# revision identifiers, used by Alembic.
revision = '3c9318eed2ef'
down_revision = '7ac94529d32e'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('sqs', sa.Column('agency_code', sa.Text(), nullable=True))
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('sqs', 'agency_code')
    ### end Alembic commands ###

