mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-22 07:11:52 +08:00
MALL-KEFU: 聊天内容字段长度增加
This commit is contained in:
parent
b5528bfc15
commit
ebfcec4cfe
@ -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 '创建时间',
|
||||
|
Loading…
Reference in New Issue
Block a user