"""empty message

Revision ID: f995e0d4d5f2
Revises: bc0ed8cb5629
Create Date: 2022-08-17 22:05:09.488067

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'f995e0d4d5f2'
down_revision = 'bc0ed8cb5629'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_cmf_document_history_document_cmf_version', table_name='cmf_document_history')
    op.drop_column('cmf_document_history', 'document_cmf_version')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('cmf_document_history', sa.Column('document_cmf_version', sa.BIGINT(), autoincrement=False, nullable=True))
    op.create_index('ix_cmf_document_history_document_cmf_version', 'cmf_document_history', ['document_cmf_version'], unique=False)
    # ### end Alembic commands ###
