"""empty message

Revision ID: 1535690f5475
Revises: ac88df4beb43
Create Date: 2021-04-08 13:16:24.872528

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '1535690f5475'
down_revision = 'ac88df4beb43'
branch_labels = None
depends_on = None


def upgrade(engine_name):
    globals()["upgrade_%s" % engine_name]()


def downgrade(engine_name):
    globals()["downgrade_%s" % engine_name]()





def upgrade_():
    # ### commands auto generated by Alembic - please adjust! ###
    pass
    # ### end Alembic commands ###


def downgrade_():
    # ### commands auto generated by Alembic - please adjust! ###
    pass
    # ### end Alembic commands ###


def upgrade_datalake():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_table('rmc_formula',
    sa.Column('id', sa.Integer(), nullable=False),
    sa.Column('formula', sa.String(length=1024), nullable=True),
    sa.Column('fee', sa.String(length=120), nullable=True),
    sa.Column('bussinesUnit', sa.String(length=120), nullable=True),
    sa.PrimaryKeyConstraint('id')
    )
    # ### end Alembic commands ###


def downgrade_datalake():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_table('rmc_formula')
    # ### end Alembic commands ###

