-- Phase 25 Knowledge Auto-Harvesting enum compatibility
-- SQLAlchemy stores Enum names (AUTO_RUNBOOK / ANTI_PATTERN) for EntryType.
-- Older production DBs only had lowercase labels from the first migration.

ALTER TYPE entrytype ADD VALUE IF NOT EXISTS 'AUTO_RUNBOOK';
ALTER TYPE entrytype ADD VALUE IF NOT EXISTS 'ANTI_PATTERN';
