"""Adding place_of_performance_scope to (certified_)award_financial_assistance table

Revision ID: 229820d5d7b1
Revises: 3fd9a578c9c5
Create Date: 2020-04-23 13:21:38.651516

"""

# revision identifiers, used by Alembic.
revision = '229820d5d7b1'
down_revision = '3fd9a578c9c5'
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('award_financial_assistance', sa.Column('place_of_performance_scope', sa.Text(), nullable=True))
    op.add_column('certified_award_financial_assistance', sa.Column('place_of_performance_scope', sa.Text(), nullable=True))
    # ### end Alembic commands ###


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

