"""Adding DAIMS name to FileColumn

Revision ID: 5d1cdc179c1b
Revises: 8290ddf8d51b
Create Date: 2019-07-08 19:09:56.680884

"""

# revision identifiers, used by Alembic.
revision = '5d1cdc179c1b'
down_revision = '8290ddf8d51b'
branch_labels = None
depends_on = None

from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql

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('file_columns', sa.Column('daims_name', sa.Text(), nullable=True))
    # ### end Alembic commands ###


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

