customer_service
This commit is contained in:
parent
3bb50b77fa
commit
32d7933286
6
1732845832_create_table_customer_service_type.up.sql
Normal file
6
1732845832_create_table_customer_service_type.up.sql
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
CREATE TABLE `ufutx_customer_service_type` (
|
||||||
|
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
|
||||||
|
`name` varchar(100) NOT NULL ,
|
||||||
|
`created_at` timestamp NOT NULL,
|
||||||
|
`updated_at` timestamp NOT NULL
|
||||||
|
)
|
8
1732846388_create_table_customer_service.up.sql
Normal file
8
1732846388_create_table_customer_service.up.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
CREATE TABLE `ufutx_customer_service` (
|
||||||
|
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
|
||||||
|
`type_id` bigint(20) UNSIGNED NOT NULL comment "客服类型id",
|
||||||
|
`type_name` varchar(100) NOT NULL comment "客服类型",
|
||||||
|
`user_id` bigint(20) UNSIGNED NOT NULL comment "用户id",
|
||||||
|
`created_at` timestamp NOT NULL,
|
||||||
|
`updated_at` timestamp NOT NULL
|
||||||
|
)
|
8
1732869307_create_table_chat_linkmen.up.sql
Normal file
8
1732869307_create_table_chat_linkmen.up.sql
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
CREATE TABLE `ufutx_chat_linkman` (
|
||||||
|
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
|
||||||
|
`user_id` bigint(20) UNSIGNED NOT NULL comment "当前用户",
|
||||||
|
`other_user_id` bigint(20) UNSIGNED NOT NULL comment "其他用户 ",
|
||||||
|
`created_at` timestamp default null,
|
||||||
|
`updated_at` timestamp default null,
|
||||||
|
`deleted_at` timestamp default null
|
||||||
|
)
|
13
1732869331_create_table_chat_message.up.sql
Normal file
13
1732869331_create_table_chat_message.up.sql
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
CREATE TABLE `ufutx_chat_message` (
|
||||||
|
`id` bigint(20) UNSIGNED PRIMARY KEY NOT NULL AUTO_INCREMENT,
|
||||||
|
`from_user_id` bigint(20) UNSIGNED NOT NULL comment "发送者",
|
||||||
|
`to_user_id` bigint(20) UNSIGNED NOT NULL comment "接收者 ",
|
||||||
|
`content_type` varchar(20) NOT NULL comment "消息类型",
|
||||||
|
`content` text NOT NULL comment "消息内容",
|
||||||
|
`im_msg_id` varchar(100) NOT NULL comment "云信客户端消息id",
|
||||||
|
`msg_timestamp` varchar(100) NOT NULL comment "云信消息时间",
|
||||||
|
`is_recall` tinyInt(4) UNSIGNED default 0 comment "是否撤回, 0:未撤回。1:已撤回",
|
||||||
|
`data` text NOT NULL comment "抄送消息",
|
||||||
|
`created_at` timestamp default null,
|
||||||
|
`updated_at` timestamp default null
|
||||||
|
)
|
Loading…
Reference in New Issue
Block a user