mirror of https://github.com/buster-so/buster.git
added in the postProcessingMessage to the db
This commit is contained in:
parent
0977195995
commit
3b01e5727b
|
@ -18,6 +18,7 @@
|
|||
"typecheck": "tsc --noEmit"
|
||||
},
|
||||
"dependencies": {
|
||||
"@buster/access-controls": "workspace:*",
|
||||
"@buster/ai": "workspace:*",
|
||||
"@buster/database": "workspace:*",
|
||||
"@buster/test-utils": "workspace:*",
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
-- Add postProcessingMessage column to messages table
|
||||
ALTER TABLE messages ADD COLUMN IF NOT EXISTS post_processing_message jsonb;
|
|
@ -526,6 +526,13 @@
|
|||
"when": 1751583567208,
|
||||
"tag": "0074_absurd_maddog",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 75,
|
||||
"version": "7",
|
||||
"when": 1751584000000,
|
||||
"tag": "0075_add_post_processing_message_to_messages",
|
||||
"breakpoints": false
|
||||
}
|
||||
]
|
||||
}
|
|
@ -828,6 +828,7 @@ export const messages = pgTable(
|
|||
createdBy: uuid('created_by').notNull(),
|
||||
feedback: text(),
|
||||
isCompleted: boolean('is_completed').default(false).notNull(),
|
||||
postProcessingMessage: jsonb('post_processing_message'),
|
||||
},
|
||||
(table) => [
|
||||
index('messages_chat_id_idx').using('btree', table.chatId.asc().nullsLast().op('uuid_ops')),
|
||||
|
|
|
@ -145,6 +145,9 @@ importers:
|
|||
|
||||
apps/trigger:
|
||||
dependencies:
|
||||
'@buster/access-controls':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/access-controls
|
||||
'@buster/ai':
|
||||
specifier: workspace:*
|
||||
version: link:../../packages/ai
|
||||
|
|
Loading…
Reference in New Issue