Skip to main content

max / goingson

526 B · 12 lines History Blame Raw
1 -- Retire the orphaned LLM schema.
2 --
3 -- Migration 014 provisioned `llm_settings` and `llm_cache` for an AI feature that
4 -- was removed; no Rust or JS code has read or written either table since. Keeping
5 -- them provisioned on every fresh install contradicts the product's no-AI rule and
6 -- leaves a dead API-key column (`llm_settings.api_key`) in the schema. Drop both.
7
8 DROP INDEX IF EXISTS idx_llm_cache_lookup;
9 DROP INDEX IF EXISTS idx_llm_settings_user;
10 DROP TABLE IF EXISTS llm_cache;
11 DROP TABLE IF EXISTS llm_settings;
12