"""drop trgm index on document

Revision ID: f3e7827cb3fc
Revises: c74cb952f345
Create Date: 2025-06-19 15:36:42.509596

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = 'f3e7827cb3fc'
down_revision = 'c74cb952f345'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_cmf_document_text_gin_trgm', table_name='cmf_document')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_cmf_document_text_gin_trgm', 'cmf_document', ['text'], unique=False)
    # ### end Alembic commands ###
