"""empty message

Revision ID: 4f0a134f7711
Revises: 40133ce5ade1
Create Date: 2021-01-13 17:19:34.095657

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '4f0a134f7711'
down_revision = '40133ce5ade1'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.get_context().autocommit_block():
        op.add_column('cmf_card', sa.Column('icon_svg', sa.TEXT(), nullable=True))
        op.add_column('cmf_card', sa.Column('obj_ui_name', sa.String(length=64), nullable=True))
        op.create_index(op.f('ix_cmf_card_obj_ui_name'), 'cmf_card', ['obj_ui_name'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_cmf_card_obj_ui_name'), table_name='cmf_card')
    op.drop_column('cmf_card', 'obj_ui_name')
    op.drop_column('cmf_card', 'icon_svg')
    # ### end Alembic commands ###
