Files
query-orchestration/internal/database/migrations/00000000000131_create_chatbot_tables.down.sql
T
Jay Brown 72de690894 Merged in feature/chatbot1 (pull request #223)
Chatbot functionality

* baseline working

* missing test file

* more tests
2026-05-07 20:56:18 +00:00

10 lines
424 B
SQL

-- Rollback migration 131. Drop in reverse dependency order: turns and
-- scope tables reference bot_sessions (via FK), so they go first.
-- DROP TABLE removes any indexes and CHECK constraints attached to the
-- table, so no separate index/constraint drops are needed.
DROP TABLE IF EXISTS bot_turns;
DROP TABLE IF EXISTS bot_session_folders;
DROP TABLE IF EXISTS bot_session_documents;
DROP TABLE IF EXISTS bot_sessions;