# /**
# Source Server Version: 8.0.31
# Source Database: backendsys
# Date: 2023/05/23 17:09:22
# */
#
# DROP TABLE IF EXISTS `ds_chat_history`;
# CREATE TABLE `ds_chat_history` (
#     PRIMARY KEY (`id`),
#     `id` BIGINT AUTO_INCREMENT COMMENT 'ID',
#     `history_code` VARCHAR(36) NOT NULL COMMENT '对话历史记录ID',
#     `user_id` BIGINT NOT NULL COMMENT '用户ID',
#     `last_content` VARCHAR(255) NOT NULL COMMENT '最后一次的对话内容',
#     `create_time` DATETIME DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
#     `update_time` DATETIME DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
#     INDEX `idx_user_id` (`user_id`)
# ) ENGINE=INNODB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COMMENT='Deepseek对话历史记录表';
#
# INSERT INTO ds_chat_history(history_code, user_id, last_content) VALUES
#     ('5670822e-f0f7-4635-b766-c9c61edef0fa', 1, '生成一条关于制作蛋糕的文案，适用于家用，用料是纯天然无添加剂，主打绿色健康美味的理念'),
#     ('3e69922c-f0e7-4f82-905d-0b375e09409c', 1, '你好'),
#     ('bd55b4e6-9a4b-4904-99cc-b474bc0a86e4', 2, 'Hello')
# ;
