feat: add message audit foundation
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
-- 000003_message_audit down migration
|
||||
-- Drop in reverse dependency order: first remove turn columns, then drop tables
|
||||
|
||||
ALTER TABLE turns
|
||||
DROP COLUMN IF EXISTS request_message_id;
|
||||
|
||||
ALTER TABLE turns
|
||||
DROP COLUMN IF EXISTS answer_message_id;
|
||||
|
||||
ALTER TABLE turns
|
||||
DROP COLUMN IF EXISTS agent_id;
|
||||
|
||||
DROP TABLE IF EXISTS messages;
|
||||
DROP TABLE IF EXISTS channel_conversations;
|
||||
DROP TABLE IF EXISTS channel_actors;
|
||||
Reference in New Issue
Block a user