-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for multiple teams in single conversation (#51)
- Loading branch information
1 parent
0fa539f
commit 956689b
Showing
13 changed files
with
776 additions
and
458 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
migrations/20231201044043_add_team_details_to_conversation_model/migration.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
Warnings: | ||
- You are about to drop the column `conversation` on the `Conversation` table. All the data in the column will be lost. | ||
- You are about to drop the column `status` on the `Conversation` table. All the data in the column will be lost. | ||
- Added the required column `message` to the `Conversation` table without a default value. This is not possible if the table is not empty. | ||
- Added the required column `role` to the `Conversation` table without a default value. This is not possible if the table is not empty. | ||
*/ | ||
-- AlterTable | ||
ALTER TABLE "Conversation" DROP COLUMN "conversation", | ||
DROP COLUMN "status", | ||
ADD COLUMN "is_question_from_agent" BOOLEAN NOT NULL DEFAULT false, | ||
ADD COLUMN "message" TEXT NOT NULL, | ||
ADD COLUMN "role" TEXT NOT NULL, | ||
ADD COLUMN "team_id" INTEGER, | ||
ADD COLUMN "team_name" TEXT, | ||
ADD COLUMN "team_status" TEXT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.