"""added_status_orderno_partition

Revision ID: 18dc9cc766be
Revises: 0a4cd0883337
Create Date: 2025-12-18 13:09:33.194351

"""
from alembic import op
import sqlalchemy as sa
from sqlalchemy.dialects import postgresql

# revision identifiers, used by Alembic.
revision = '18dc9cc766be'
down_revision = '0a4cd0883337'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.create_index('ix_cmf_status_orderno_partition_by_cluster', 'cmf_status', ['workflow_id', 'orderno'], unique=False)
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_index('ix_cmf_status_orderno_partition_by_cluster', table_name='cmf_status')
    # ### end Alembic commands ###
