"""currency

Revision ID: 224b4f7a908c
Revises: 362a4993bba9
Create Date: 2021-02-03 12:34:25.914430

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '224b4f7a908c'
down_revision = '362a4993bba9'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_currency', sa.Column('short_name', sa.String(length=32), nullable=True))
    op.create_index(op.f('ix_cmf_currency_short_name'), 'cmf_currency', ['short_name'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_cmf_currency_short_name'), table_name='cmf_currency')
    op.drop_column('cmf_currency', 'short_name')
    # ### end Alembic commands ###
