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 '编号',
|
`id` bigint NOT NULL AUTO_INCREMENT COMMENT '编号',
|
||||||
`user_id` bigint NOT NULL COMMENT '会话所属用户',
|
`user_id` bigint NOT NULL COMMENT '会话所属用户',
|
||||||
`last_message_time` datetime 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 '最后发送的消息类型',
|
`last_message_content_type` int NOT NULL COMMENT '最后发送的消息类型',
|
||||||
`admin_pinned` bit(1) NOT NULL DEFAULT b'0' COMMENT '管理端置顶',
|
`admin_pinned` bit(1) NOT NULL DEFAULT b'0' COMMENT '管理端置顶',
|
||||||
`user_deleted` 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_id` bigint DEFAULT NULL COMMENT '接收人编号',
|
||||||
`receiver_type` int DEFAULT NULL COMMENT '接收人类型',
|
`receiver_type` int DEFAULT NULL COMMENT '接收人类型',
|
||||||
`content_type` int NOT 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 '是否已读',
|
`read_status` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否已读',
|
||||||
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '创建者',
|
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '' COMMENT '创建者',
|
||||||
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
|
||||||
|
|
Loading…
Reference in New Issue