|
|
@ -44,7 +44,7 @@ CREATE TABLE `device` ( |
|
|
|
`charset` varchar(50) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `device_deviceId_uindex` (`deviceId`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -129,7 +129,7 @@ CREATE TABLE `device_channel` ( |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `device_channel_id_uindex` (`id`), |
|
|
|
UNIQUE KEY `device_channel_pk` (`channelId`,`deviceId`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=46 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -198,7 +198,7 @@ CREATE TABLE `gb_stream` ( |
|
|
|
PRIMARY KEY (`gbStreamId`) USING BTREE, |
|
|
|
UNIQUE KEY `app` (`app`,`stream`) USING BTREE, |
|
|
|
UNIQUE KEY `gbId` (`gbId`) USING BTREE |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=375 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=300766 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -228,7 +228,7 @@ CREATE TABLE `log` ( |
|
|
|
`username` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`createTime` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
PRIMARY KEY (`id`) USING BTREE |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=313 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=962 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -317,7 +317,7 @@ CREATE TABLE `parent_platform` ( |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `parent_platform_id_uindex` (`id`), |
|
|
|
UNIQUE KEY `parent_platform_pk` (`serverGBId`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -367,7 +367,7 @@ CREATE TABLE `platform_gb_channel` ( |
|
|
|
`catalogId` varchar(50) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`deviceChannelId` int NOT NULL, |
|
|
|
PRIMARY KEY (`id`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -393,7 +393,7 @@ CREATE TABLE `platform_gb_stream` ( |
|
|
|
`id` int NOT NULL AUTO_INCREMENT, |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `platform_gb_stream_pk` (`platformId`,`catalogId`,`gbStreamId`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=406 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=301207 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -415,7 +415,6 @@ DROP TABLE IF EXISTS `stream_proxy`; |
|
|
|
CREATE TABLE `stream_proxy` ( |
|
|
|
`id` int NOT NULL AUTO_INCREMENT, |
|
|
|
`type` varchar(50) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`name` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`app` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`stream` varchar(255) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`url` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, |
|
|
@ -431,9 +430,10 @@ CREATE TABLE `stream_proxy` ( |
|
|
|
`status` bit(1) NOT NULL, |
|
|
|
`enable_remove_none_reader` bit(1) NOT NULL, |
|
|
|
`createTime` varchar(50) COLLATE utf8mb4_general_ci NOT NULL, |
|
|
|
`name` varchar(255) COLLATE utf8mb4_general_ci DEFAULT NULL, |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `stream_proxy_pk` (`app`,`stream`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -464,7 +464,7 @@ CREATE TABLE `stream_push` ( |
|
|
|
`mediaServerId` varchar(50) COLLATE utf8mb4_general_ci DEFAULT NULL, |
|
|
|
PRIMARY KEY (`id`), |
|
|
|
UNIQUE KEY `stream_push_pk` (`app`,`stream`) |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=394 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
) ENGINE=InnoDB AUTO_INCREMENT=300799 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci; |
|
|
|
/*!40101 SET character_set_client = @saved_cs_client */; |
|
|
|
|
|
|
|
-- |
|
|
@ -501,7 +501,7 @@ CREATE TABLE `user` ( |
|
|
|
|
|
|
|
LOCK TABLES `user` WRITE; |
|
|
|
/*!40000 ALTER TABLE `user` DISABLE KEYS */; |
|
|
|
INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57'); |
|
|
|
INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021 - 04 - 13 14:14:57','2021 - 04 - 13 14:14:57'); |
|
|
|
/*!40000 ALTER TABLE `user` ENABLE KEYS */; |
|
|
|
UNLOCK TABLES; |
|
|
|
|
|
|
@ -541,4 +541,4 @@ UNLOCK TABLES; |
|
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
|
|
|
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
|
|
|
|
|
|
|
-- Dump completed on 2022-02-25 20:32:21 |
|
|
|
-- Dump completed on 2022-03-07 8:26:30 |
|
|
|