"""Remove embedding model from Catalog - we use Mistral

Revision ID: ed981a641be9
Revises: 2b04e961eee4
Create Date: 2025-03-07 14:02:49.027216

"""
from alembic import op
import sqlalchemy as sa
import pgvector


# revision identifiers, used by Alembic.
revision = 'ed981a641be9'
down_revision = '2b04e961eee4'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('catalog', 'embedding_model')
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('catalog', sa.Column('embedding_model', sa.VARCHAR(length=50), autoincrement=False, nullable=True))
    # ### end Alembic commands ###
