"""revision for resolution

Revision ID: 363b4b7c5271
Revises: 450b14f62a7f
Create Date: 2024-06-27 17:50:23.589266

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '363b4b7c5271'
down_revision = '450b14f62a7f'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.alter_column('cmf_resolution', 'text',
               existing_type=sa.VARCHAR(),
               type_=sa.TEXT(),
               existing_nullable=True)
    op.drop_index('ix_cmf_resolution_system', table_name='cmf_resolution')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_cmf_resolution_system', 'cmf_resolution', ['system'], unique=False)
    op.alter_column('cmf_resolution', 'text',
               existing_type=sa.TEXT(),
               type_=sa.VARCHAR(),
               existing_nullable=True)
    # ### end Alembic commands ###
