mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-25 07:00:48 +09:00
ea4dac265b
The CI migrations workflow (up → down → up) failed because 0061 down renames `providers` back to `llm_providers`, but 0001 down only dropped `providers` — leaving `llm_providers` as a remnant. On the second migrate up, 0010 found the stale `llm_providers` and tried to reference `models.llm_provider_id` which no longer existed. Revert 0001 canonical schema to use original names (llm_providers, tts_providers, tts_models) so incremental migrations work naturally and 0061 handles the final rename. Remove EXECUTE wrappers and unnecessary guards from migrations that now always operate on llm_providers.
6 lines
194 B
SQL
6 lines
194 B
SQL
-- 0042_provider_enable
|
|
-- Add enable column to llm_providers for built-in provider registry support.
|
|
|
|
ALTER TABLE llm_providers
|
|
ADD COLUMN IF NOT EXISTS enable BOOLEAN NOT NULL DEFAULT true;
|