cleanup: remove assigned_agent_id column from csat responses table.

This commit is contained in:
Abhinav Raut
2025-02-02 18:46:43 +05:30
parent 7fa3df1eba
commit d7ac76824f
3 changed files with 2 additions and 6 deletions

View File

@@ -379,7 +379,6 @@ CREATE TABLE csat_responses (
-- Keep CSAT responses even if the conversation or agent is deleted.
conversation_id BIGINT REFERENCES conversations(id) ON DELETE SET NULL ON UPDATE CASCADE NOT NULL,
assigned_agent_id BIGINT REFERENCES users(id) ON DELETE SET NULL ON UPDATE CASCADE NOT NULL,
rating INT DEFAULT 0 NOT NULL,
feedback TEXT NULL,