customer_service

This commit is contained in:
Hankin 2024-11-29 17:02:18 +08:00
parent 10889e8409
commit 874ee45d5f
4 changed files with 9 additions and 9 deletions

View File

@ -1,6 +1,6 @@
CREATE TABLE `ufutx_customer_service_type` ( CREATE TABLE `ufutx_customer_service_type` (
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT, `id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
`name` varchar(100) NOT NULL , `name` varchar(100) NOT NULL ,
`created_at` timestamp default NULL, `created_at` timestamp null default NULL,
`updated_at` timestamp default NULL `updated_at` timestamp null default NULL
) )

View File

@ -3,6 +3,6 @@ CREATE TABLE `ufutx_customer_service` (
`type_id` bigint(20) UNSIGNED NOT NULL comment "客服类型id", `type_id` bigint(20) UNSIGNED NOT NULL comment "客服类型id",
`type_name` varchar(100) NOT NULL comment "客服类型", `type_name` varchar(100) NOT NULL comment "客服类型",
`user_id` bigint(20) UNSIGNED NOT NULL comment "用户id", `user_id` bigint(20) UNSIGNED NOT NULL comment "用户id",
`created_at` timestamp default null, `created_at` timestamp null default null,
`updated_at` timestamp default NULL `updated_at` timestamp null default NULL
) )

View File

@ -2,7 +2,7 @@ CREATE TABLE `ufutx_chat_linkman` (
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT, `id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) UNSIGNED NOT NULL comment "当前用户", `user_id` bigint(20) UNSIGNED NOT NULL comment "当前用户",
`other_user_id` bigint(20) UNSIGNED NOT NULL comment "其他用户 ", `other_user_id` bigint(20) UNSIGNED NOT NULL comment "其他用户 ",
`created_at` timestamp default null, `created_at` timestamp null default null,
`updated_at` timestamp default null, `updated_at` timestamp null default null,
`deleted_at` timestamp default null `deleted_at` timestamp null default null
) )

View File

@ -8,6 +8,6 @@ CREATE TABLE `ufutx_chat_message` (
`msg_timestamp` varchar(100) NOT NULL comment "云信消息时间", `msg_timestamp` varchar(100) NOT NULL comment "云信消息时间",
`is_recall` tinyInt(4) UNSIGNED default 0 comment "是否撤回, 0:未撤回。1:已撤回", `is_recall` tinyInt(4) UNSIGNED default 0 comment "是否撤回, 0:未撤回。1:已撤回",
`data` text NOT NULL comment "抄送消息", `data` text NOT NULL comment "抄送消息",
`created_at` timestamp default null, `created_at` timestamp null default null,
`updated_at` timestamp default null `updated_at` timestamp null default null
) )