Some checks failed
CD Pipeline / tests (push) Successful in 2m14s
Code Review / ai-code-review (push) Successful in 26s
run-migration / migrate (push) Failing after 24s
CD Pipeline / build-and-deploy (push) Has been cancelled
CD Pipeline / post-deploy-checks (push) Has been cancelled
7 lines
333 B
SQL
7 lines
333 B
SQL
-- 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';
|