max / goingson
| 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 | IF EXISTS idx_llm_cache_lookup; |
| 9 | IF EXISTS idx_llm_settings_user; |
| 10 | IF EXISTS llm_cache; |
| 11 | IF EXISTS llm_settings; |
| 12 |