mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
a04b8fd564
- Rename `llm_providers` → `providers`, `llm_provider_oauth_tokens` → `provider_oauth_tokens` - Remove `tts_providers` and `tts_models` tables; speech models now live in the unified `models` table with `type = 'speech'` - Replace top-level `api_key`/`base_url` columns with a JSONB `config` field on `providers` - Rename `llm_provider_id` → `provider_id` across all references - Add `edge-speech` client type and `conf/providers/edge.yaml` default provider - Create new read-only speech endpoints (`/speech-providers`, `/speech-models`) backed by filtered views of the unified tables - Remove old TTS CRUD handlers; simplify speech page to read-only + test - Update registry loader to skip malformed YAML files instead of failing entirely - Fix YAML quoting for model names containing colons in openrouter.yaml - Regenerate sqlc, swagger, and TypeScript SDK
34 lines
1.2 KiB
SQL
34 lines
1.2 KiB
SQL
DROP TABLE IF EXISTS bot_history_message_assets;
|
|
DROP TABLE IF EXISTS media_assets;
|
|
DROP TABLE IF EXISTS bot_storage_bindings;
|
|
DROP TABLE IF EXISTS storage_providers;
|
|
DROP TABLE IF EXISTS subagents;
|
|
DROP TABLE IF EXISTS schedule;
|
|
DROP TABLE IF EXISTS lifecycle_events;
|
|
DROP TABLE IF EXISTS container_versions;
|
|
DROP TABLE IF EXISTS snapshots;
|
|
DROP TABLE IF EXISTS containers;
|
|
DROP TABLE IF EXISTS bot_history_messages;
|
|
DROP TABLE IF EXISTS bot_channel_routes;
|
|
DROP TABLE IF EXISTS channel_identity_bind_codes;
|
|
DROP TABLE IF EXISTS bot_preauth_keys;
|
|
DROP TABLE IF EXISTS bot_acl_rules;
|
|
DROP TABLE IF EXISTS bot_channel_configs;
|
|
DROP TABLE IF EXISTS mcp_connections;
|
|
DROP TABLE IF EXISTS bot_members;
|
|
DROP TABLE IF EXISTS email_outbox;
|
|
DROP TABLE IF EXISTS bot_email_bindings;
|
|
DROP TABLE IF EXISTS email_oauth_tokens;
|
|
DROP TABLE IF EXISTS email_providers;
|
|
DROP TABLE IF EXISTS provider_oauth_tokens;
|
|
DROP TABLE IF EXISTS bots;
|
|
DROP TABLE IF EXISTS memory_providers;
|
|
DROP TABLE IF EXISTS model_variants;
|
|
DROP TABLE IF EXISTS models;
|
|
DROP TABLE IF EXISTS search_providers;
|
|
DROP TABLE IF EXISTS providers;
|
|
DROP TABLE IF EXISTS user_channel_bindings;
|
|
DROP TABLE IF EXISTS channel_identities;
|
|
DROP TABLE IF EXISTS users;
|
|
DROP TYPE IF EXISTS user_role;
|