mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-22 11:51:42 +00:00
fix(schema): change flow_data column type from text to longtext (#2590)
Co-authored-by: tam <tanwe@fulan.com.cn>
This commit is contained in:
parent
e9ce534ca1
commit
ae4112cf35
@ -295,7 +295,7 @@ CREATE TABLE `dbgpt_serve_flow` (
|
||||
`uid` varchar(128) NOT NULL COMMENT 'Unique id',
|
||||
`dag_id` varchar(128) DEFAULT NULL COMMENT 'DAG id',
|
||||
`name` varchar(128) DEFAULT NULL COMMENT 'Flow name',
|
||||
`flow_data` text COMMENT 'Flow data, JSON format',
|
||||
`flow_data` longtext COMMENT 'Flow data, JSON format',
|
||||
`user_name` varchar(128) DEFAULT NULL COMMENT 'User name',
|
||||
`sys_code` varchar(128) DEFAULT NULL COMMENT 'System code',
|
||||
`gmt_created` datetime DEFAULT NULL COMMENT 'Record creation time',
|
||||
|
@ -4,3 +4,6 @@ USE dbgpt;
|
||||
-- Change message_detail column type from text to longtext in chat_history_message table
|
||||
ALTER TABLE `gpts_messages`
|
||||
MODIFY COLUMN `action_report` longtext COMMENT 'Current conversation action report';
|
||||
|
||||
ALTER TABLE `dbgpt_serve_flow`
|
||||
MODIFY COLUMN `flow_data` longtext null COMMENT 'Flow data, JSON format';
|
@ -294,7 +294,7 @@ CREATE TABLE `dbgpt_serve_flow` (
|
||||
`uid` varchar(128) NOT NULL COMMENT 'Unique id',
|
||||
`dag_id` varchar(128) DEFAULT NULL COMMENT 'DAG id',
|
||||
`name` varchar(128) DEFAULT NULL COMMENT 'Flow name',
|
||||
`flow_data` text COMMENT 'Flow data, JSON format',
|
||||
`flow_data` longtext COMMENT 'Flow data, JSON format',
|
||||
`user_name` varchar(128) DEFAULT NULL COMMENT 'User name',
|
||||
`sys_code` varchar(128) DEFAULT NULL COMMENT 'System code',
|
||||
`gmt_created` datetime DEFAULT NULL COMMENT 'Record creation time',
|
||||
|
Loading…
Reference in New Issue
Block a user