"""Add context and source columns to Vocabulary model

Revision ID: 5661b26c6d98
Revises: 4d1b608f2c1b
Create Date: 2025-09-21 08:16:07.723577

"""
from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision = '5661b26c6d98'
down_revision = '4d1b608f2c1b'
branch_labels = None
depends_on = None


def upgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('vocabulary', schema=None) as batch_op:
        batch_op.add_column(sa.Column('context', sa.Text(), nullable=True))
        batch_op.add_column(sa.Column('source', sa.Text(), nullable=True))

    # ### end Alembic commands ###


def downgrade():
    # ### commands auto generated by Alembic - please adjust! ###
    with op.batch_alter_table('vocabulary', schema=None) as batch_op:
        batch_op.drop_column('source')
        batch_op.drop_column('context')

    # ### end Alembic commands ###
