"""Add 'disputed' value to teststate enum.

Revision ID: b046
Revises: b045
Create Date: 2026-06-03
"""

from alembic import op

revision = "b046"
down_revision = "b045"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.execute("ALTER TYPE teststate ADD VALUE IF NOT EXISTS 'disputed'")


def downgrade() -> None:
    # PostgreSQL does not support removing enum values; downgrade is a no-op.
    pass
