diff --git a/sql/mysql/mall-promotion-kefu.sql b/sql/mysql/mall-promotion-kefu.sql index 67054cbb14..83742e4a8c 100644 --- a/sql/mysql/mall-promotion-kefu.sql +++ b/sql/mysql/mall-promotion-kefu.sql @@ -3,7 +3,7 @@ CREATE TABLE `promotion_kefu_conversation` ( `id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号', `user_id` bigint NOT NULL COMMENT '会话所属用户', `last_message_time` datetime NOT NULL COMMENT '最后聊天时间', - `last_message_content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '最后聊天内容', + `last_message_content` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '最后聊天内容', `last_message_content_type` int NOT NULL COMMENT '最后发送的消息类型', `admin_pinned` bit(1) NOT NULL DEFAULT b'0' COMMENT '管理端置顶', `user_deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '用户是否可见', @@ -27,7 +27,7 @@ CREATE TABLE `promotion_kefu_message` ( `receiver_id` bigint DEFAULT NULL COMMENT '接收人编号', `receiver_type` int DEFAULT NULL COMMENT '接收人类型', `content_type` int NOT NULL COMMENT '消息类型', - `content` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '消息', + `content` varchar(2048) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '消息', `read_status` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否已读', `creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '创建者', `create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',