"""drop image_cache table

Revision ID: 0054
Revises: 0053
Create Date: 2026-05-27

The image cache was wired into the LLM image-search tool (removed in Phase 8).
With no producer or consumer left, the table is dropped here.
"""
from alembic import op


revision = "0054"
down_revision = "0053"
branch_labels = None
depends_on = None


def upgrade() -> None:
    op.execute("DROP TABLE IF EXISTS image_cache CASCADE")


def downgrade() -> None:
    raise NotImplementedError(
        "No downgrade — hard cutover per the MCP-first pivot spec."
    )
