"""Add version_type to Retriever model

Revision ID: b9cc547a0512
Revises: efcd6a0d2989
Create Date: 2025-01-24 06:56:33.459264

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

# revision identifiers, used by Alembic.
revision = 'b9cc547a0512'
down_revision = 'efcd6a0d2989'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('retriever', sa.Column('type_version', sa.String(length=20), nullable=True))
    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('retriever', 'type_version')
    # ### end Alembic commands ###
