"""Add version information for configuration

Revision ID: 1e8ed0bd9662
Revises: 07d08b2cf0b3
Create Date: 2025-01-14 14:03:42.866613

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

# revision identifiers, used by Alembic.
revision = '1e8ed0bd9662'
down_revision = '07d08b2cf0b3'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('dispatcher', sa.Column('type_version', sa.String(length=20), nullable=True))
    op.add_column('eve_ai_agent', sa.Column('type_version', sa.String(length=20), nullable=True))
    op.add_column('eve_ai_task', sa.Column('type_version', sa.String(length=20), nullable=True))
    op.add_column('eve_ai_tool', sa.Column('type_version', sa.String(length=20), nullable=True))
    op.add_column('specialist', 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('specialist', 'type_version')
    op.drop_column('eve_ai_tool', 'type_version')
    op.drop_column('eve_ai_task', 'type_version')
    op.drop_column('eve_ai_agent', 'type_version')
    op.drop_column('dispatcher', 'type_version')
    # ### end Alembic commands ###
