mirror of
https://github.com/tencentmusic/supersonic.git
synced 2025-12-13 13:07:32 +00:00
(improvement)(chat) Initialize the created_at and updated_at timestamps in s2_chat_memory. (#1289)
This commit is contained in:
@@ -147,8 +147,8 @@ CREATE TABLE IF NOT EXISTS `s2_chat_memory` (
|
||||
`llm_comment` TEXT COMMENT '大模型评估意见' ,
|
||||
`human_review` char(10) COMMENT '管理员评估结果',
|
||||
`human_comment` TEXT COMMENT '管理员评估意见',
|
||||
`created_at` datetime DEFAULT NULL ,
|
||||
`updated_at` datetime DEFAULT NULL ,
|
||||
`created_at` TIMESTAMP DEFAULT CURRENT_TIMESTAMP ,
|
||||
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP ,
|
||||
`created_by` varchar(100) DEFAULT NULL ,
|
||||
`updated_by` varchar(100) DEFAULT NULL ,
|
||||
PRIMARY KEY (`id`)
|
||||
|
||||
Reference in New Issue
Block a user