同步专业版IM服务数据库

This commit is contained in:
heavyrian2012
2026-01-08 15:57:52 +08:00
parent 2609a4251c
commit 51dd94d3a7
4 changed files with 67 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
DROP TABLE IF EXISTS `t_conference`;
CREATE TABLE `t_conference` (
`_id` varchar(64) NOT NULL PRIMARY KEY,
`_des` varchar(64) NOT NULL,
`_pin` varchar(16) NOT NULL,
`_max_publishers` int(11) NOT NULL DEFAULT 0,
`_bitrate` int(11) NOT NULL DEFAULT 0,
`_advance` tinyint NOT NULL DEFAULT 0,
`_recording` tinyint NOT NULL DEFAULT 0,
`_create_dt` bigint(20) NOT NULL
);
+17
View File
@@ -0,0 +1,17 @@
DROP TABLE IF EXISTS `t_join_group_request`;
CREATE TABLE `t_join_group_request` (
`id` int(11) NOT NULL PRIMARY KEY AUTO_INCREMENT,
`_uid` varchar(64) NOT NULL,
`_gid` varchar(64) NOT NULL,
`_mid` varchar(64) NOT NULL,
`_request_uid` varchar(64) NOT NULL,
`_accept_uid` varchar(64) DEFAULT NULL,
`_reason` TEXT DEFAULT NULL,
`_extra` TEXT DEFAULT NULL,
`_status` tinyint NOT NULL DEFAULT 0,
`_dt` bigint(20) NOT NULL,
`_read_status` tinyint DEFAULT 0,
UNIQUE INDEX `join_group_request_key_index` (`_uid` DESC, `_gid` DESC, `_mid` DESC, `_request_uid` DESC),
INDEX `join_group_request_gm_index` (`_gid` DESC, `_mid` DESC),
INDEX `join_group_request_sync_index` (`_uid` DESC, `_dt` DESC)
);