10 lines
424 B
SQL
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;
|