"""d_file_dates_on_jobs

Revision ID: 915a6bef6076
Revises: d749321d5ca8
Create Date: 2016-08-23 11:56:10.923245

"""

# revision identifiers, used by Alembic.
revision = '915a6bef6076'
down_revision = 'd749321d5ca8'
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('job', sa.Column('end_date', sa.Date(), nullable=True))
    op.add_column('job', sa.Column('start_date', sa.Date(), nullable=True))
    ### end Alembic commands ###


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

