From 78e30a43c452be55ff30deba49cf42a01aab43fa Mon Sep 17 00:00:00 2001 From: zhongzb <972627721@qq.com> Date: Mon, 2 Oct 2023 01:33:12 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mallchat.sql | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/docs/mallchat.sql b/docs/mallchat.sql index b4db0b5..434b1fc 100644 --- a/docs/mallchat.sql +++ b/docs/mallchat.sql @@ -69,28 +69,6 @@ CREATE TABLE `message_mark` ( INDEX `idx_update_time`(`update_time`) USING BTREE ) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '消息标记表' ROW_FORMAT = Dynamic; --- ---------------------------- --- Table structure for room --- ---------------------------- -DROP TABLE IF EXISTS `room`; -CREATE TABLE `room` ( - `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT 'id', - `name` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '会话名', - `type` int(11) NOT NULL COMMENT '会话类型 1大群聊 2沸点', - `active_time` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '最后活跃时间-排序', - `create_time` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) COMMENT '创建时间', - `update_time` datetime(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT '修改时间', - PRIMARY KEY (`id`) USING BTREE, - INDEX `idx_active_time`(`active_time`) USING BTREE, - INDEX `idx_create_time`(`create_time`) USING BTREE, - INDEX `idx_update_time`(`update_time`) USING BTREE -) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci COMMENT = '会话表' ROW_FORMAT = Dynamic; - --- ---------------------------- --- Records of room --- ---------------------------- -INSERT INTO `room` VALUES (1, '抹茶群聊', 1, '2023-03-25 22:30:07.328', '2023-03-25 22:30:07.328', '2023-03-25 22:30:07.328'); - -- ---------------------------- -- Table structure for user -- ----------------------------