Files
Memoh/db/migrations/0001_init.down.sql
T
BBQ ca5c6a1866 refactor(core): restructure conversation, channel and message domains
- Rename chat module to conversation with flow-based architecture
- Move channelidentities into channel/identities subpackage
- Add channel/route for routing logic
- Add message service with event hub
- Add MCP providers: container, directory, schedule
- Refactor Feishu/Telegram adapters with directory and stream support
- Add platform management page and channel badges in web UI
- Update database schema for conversations, messages and channel routes
- Add @memoh/shared package for cross-package type definitions
2026-02-12 15:34:40 +08:00

22 lines
768 B
SQL

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_channel_configs;
DROP TABLE IF EXISTS mcp_connections;
DROP TABLE IF EXISTS bot_members;
DROP TABLE IF EXISTS bots;
DROP TABLE IF EXISTS model_variants;
DROP TABLE IF EXISTS models;
DROP TABLE IF EXISTS llm_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;