"""empty message

Revision ID: 40133ce5ade1
Revises: a03b51c5bbe9
Create Date: 2021-01-13 11:34:10.797566

"""
from alembic import op
import sqlalchemy as sa


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


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_card', sa.Column('unread_cnt', sa.Integer(), nullable=True))
    op.create_index(op.f('ix_cmf_card_unread_cnt'), 'cmf_card', ['unread_cnt'], unique=False)
    # ### end Alembic commands ###


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