Commit 563c60e8 authored by 于飞's avatar 于飞

新加聊天历史资源表

parent 619ee96b
DROP TABLE IF EXISTS `vadmin_chat_history`;
CREATE TABLE `vadmin_chat_history` (
`id` int NOT NULL AUTO_INCREMENT COMMENT 'autoincrement id',
`conv_uid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'Conversation record unique id',
`message_medias` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL COMMENT 'Message medias, json format',
`is_delete` tinyint UNSIGNED NOT NULL DEFAULT 0 COMMENT '是否软删除',
`create_datetime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_datetime` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '更新时间',
`delete_datetime` datetime NULL DEFAULT CURRENT_TIMESTAMP COMMENT '删除时间',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1149 CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci COMMENT = '聊天历史资源表' ROW_FORMAT = Dynamic;
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment