"""Adding initial_report_date to DetachedAwardProcurement table

Revision ID: 6fc9bcd1c6cd
Revises: cbe6511d50ef
Create Date: 2017-08-16 13:32:17.221990

"""

# revision identifiers, used by Alembic.
revision = '6fc9bcd1c6cd'
down_revision = 'cbe6511d50ef'
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('detached_award_procurement', sa.Column('initial_report_date', sa.Text(), nullable=True))
    ### end Alembic commands ###


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

