"""phase-22: email.inference(Outlook 집중/기타 focused/other 분류)

Revision ID: p22d0e1f2a3b4
Revises: p21c9d0e1f2a3
Create Date: 2026-06-19 00:00:00.000000

"""

from typing import Sequence, Union

import sqlalchemy as sa
from alembic import op

revision: str = "p22d0e1f2a3b4"
down_revision: Union[str, Sequence[str], None] = "p21c9d0e1f2a3"
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None


def upgrade() -> None:
    op.add_column(
        "email",
        sa.Column("inference", sa.String(), nullable=False, server_default=""),
    )


def downgrade() -> None:
    op.drop_column("email", "inference")
