"""Add usd_master to mediaassettype enum.

Revision ID: 060
Revises: 059
"""
from alembic import op

revision = "060"
down_revision = "059"
branch_labels = None
depends_on = None


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


def downgrade() -> None:
    # PostgreSQL does not support removing enum values.
    # The 'usd_master' value will remain but is no longer referenced by application code.
    pass
