"""empty message

Revision ID: 5da2bbe18b2e
Revises: aa65d380908a
Create Date: 2020-10-19 18:07:05.098966

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5da2bbe18b2e'
down_revision = 'aa65d380908a'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index(op.f('ix_cmf_document_cache_status_type'), 'cmf_document', ['cache_status_type'], unique=False)
    op.create_index(op.f('ix_cmf_u_work_chat_group_cache_status_type'), 'cmf_u_work_chat_group', ['cache_status_type'], unique=False)
    op.create_index(op.f('ix_cmf_u_work_chat_topic_cache_status_type'), 'cmf_u_work_chat_topic', ['cache_status_type'], unique=False)
    op.create_index(op.f('ix_cmf_u_work_list_cache_status_type'), 'cmf_u_work_list', ['cache_status_type'], unique=False)
    op.create_index(op.f('ix_cmf_u_work_post_cache_status_type'), 'cmf_u_work_post', ['cache_status_type'], unique=False)
    op.create_index(op.f('ix_cmf_u_work_task_cache_status_type'), 'cmf_u_work_task', ['cache_status_type'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index(op.f('ix_cmf_u_work_task_cache_status_type'), table_name='cmf_u_work_task')
    op.drop_index(op.f('ix_cmf_u_work_post_cache_status_type'), table_name='cmf_u_work_post')
    op.drop_index(op.f('ix_cmf_u_work_list_cache_status_type'), table_name='cmf_u_work_list')
    op.drop_index(op.f('ix_cmf_u_work_chat_topic_cache_status_type'), table_name='cmf_u_work_chat_topic')
    op.drop_index(op.f('ix_cmf_u_work_chat_group_cache_status_type'), table_name='cmf_u_work_chat_group')
    op.drop_index(op.f('ix_cmf_document_cache_status_type'), table_name='cmf_document')
    # ### end Alembic commands ###
