"""remove_errors_flag

Revision ID: d074fd492181
Revises: 9aa153cb12a4
Create Date: 2016-09-12 11:54:00.033322

"""

# revision identifiers, used by Alembic.
revision = 'd074fd492181'
down_revision = '9aa153cb12a4'
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.drop_column('file', 'row_errors_present')
    ### end Alembic commands ###


def downgrade_data_broker():
    ### commands auto generated by Alembic - please adjust! ###
    op.add_column('file', sa.Column('row_errors_present', sa.BOOLEAN(), autoincrement=False, nullable=True))
    ### end Alembic commands ###

