"""add failed_count to eval_runs

Revision ID: 3936db5fe4ae
Revises: 572b122d002a
Create Date: 2026-03-02 22:34:07.023570
"""
from typing import Sequence, Union

from alembic import op
import sqlalchemy as sa


# revision identifiers, used by Alembic.
revision: str = '3936db5fe4ae'
down_revision: Union[str, None] = '572b122d002a'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.add_column('eval_runs', sa.Column('failed_count', sa.Integer(), nullable=False))
    # ### end Alembic commands ###


def downgrade() -> None:
    # ### commands auto generated by Alembic - please adjust! ###
    op.drop_column('eval_runs', 'failed_count')
    # ### end Alembic commands ###
