dump-wvp-202201051515.sql 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539
  1. -- MySQL dump 10.13 Distrib 8.0.27, for Linux (x86_64)
  2. --
  3. -- Host: localhost Database: wvp
  4. -- ------------------------------------------------------
  5. -- Server version 8.0.27-0ubuntu0.20.04.1
  6. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  7. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  8. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  9. /*!50503 SET NAMES utf8mb4 */;
  10. /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
  11. /*!40103 SET TIME_ZONE='+00:00' */;
  12. /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
  13. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  14. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  15. /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
  16. --
  17. -- Table structure for table `device`
  18. --
  19. DROP TABLE IF EXISTS `device`;
  20. /*!40101 SET @saved_cs_client = @@character_set_client */;
  21. /*!50503 SET character_set_client = utf8mb4 */;
  22. CREATE TABLE `device` (
  23. `deviceId` varchar(50) NOT NULL,
  24. `name` varchar(255) DEFAULT NULL,
  25. `manufacturer` varchar(255) DEFAULT NULL,
  26. `model` varchar(255) DEFAULT NULL,
  27. `firmware` varchar(255) DEFAULT NULL,
  28. `transport` varchar(50) DEFAULT NULL,
  29. `streamMode` varchar(50) DEFAULT NULL,
  30. `online` varchar(50) DEFAULT NULL,
  31. `registerTime` varchar(50) DEFAULT NULL,
  32. `keepaliveTime` varchar(50) DEFAULT NULL,
  33. `ip` varchar(50) NOT NULL,
  34. `createTime` varchar(50) NOT NULL,
  35. `updateTime` varchar(50) NOT NULL,
  36. `port` int NOT NULL,
  37. `expires` int NOT NULL,
  38. `subscribeCycleForCatalog` int NOT NULL,
  39. `hostAddress` varchar(50) NOT NULL,
  40. `charset` varchar(50) NOT NULL,
  41. PRIMARY KEY (`deviceId`)
  42. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  43. /*!40101 SET character_set_client = @saved_cs_client */;
  44. --
  45. -- Dumping data for table `device`
  46. --
  47. LOCK TABLES `device` WRITE;
  48. /*!40000 ALTER TABLE `device` DISABLE KEYS */;
  49. INSERT INTO `device` VALUES ('34020000001320000005','IPC-HFW4433M-I2','Dahua','IPC-HFW4433M-I2','2.622.0000000.31.R,2017-12-14','UDP','UDP','1','2022-01-05 15:08:26','2022-01-05 15:15:26','192.168.1.100','2022-01-05 15:08:26','2022-01-05 15:15:26',5060,3600,0,'192.168.1.100:5060','gb2312'),('34020000002000000005','DH-NVR5864-I','Dahua','DH-NVR5864-I','4.001.0000000.3,2020-10-22','UDP','UDP','1','2022-01-05 14:07:36','2022-01-05 15:15:25','192.168.1.19','2022-01-05 15:08:25','2022-01-05 15:15:25',5060,3600,0,'192.168.1.19:5060','gb2312'),('44010000001110008008',NULL,'Mercury','MIPC368(P)W-4','1.0.1 Build 210304 Rel.60784n','UDP','UDP','1','2022-01-05 15:08:35','2022-01-05 15:14:35','192.168.1.17','2022-01-05 15:08:35','2022-01-05 15:14:35',5060,36000,0,'192.168.1.17:5060','gb2312');
  50. /*!40000 ALTER TABLE `device` ENABLE KEYS */;
  51. UNLOCK TABLES;
  52. --
  53. -- Table structure for table `device_alarm`
  54. --
  55. DROP TABLE IF EXISTS `device_alarm`;
  56. /*!40101 SET @saved_cs_client = @@character_set_client */;
  57. /*!50503 SET character_set_client = utf8mb4 */;
  58. CREATE TABLE `device_alarm` (
  59. `id` int NOT NULL AUTO_INCREMENT,
  60. `deviceId` varchar(50) NOT NULL,
  61. `channelId` varchar(50) NOT NULL,
  62. `alarmPriority` varchar(50) NOT NULL,
  63. `alarmMethod` varchar(50) DEFAULT NULL,
  64. `alarmTime` varchar(50) NOT NULL,
  65. `alarmDescription` varchar(255) DEFAULT NULL,
  66. `longitude` double DEFAULT NULL,
  67. `latitude` double DEFAULT NULL,
  68. `alarmType` varchar(50) DEFAULT NULL,
  69. PRIMARY KEY (`id`)
  70. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  71. /*!40101 SET character_set_client = @saved_cs_client */;
  72. --
  73. -- Dumping data for table `device_alarm`
  74. --
  75. LOCK TABLES `device_alarm` WRITE;
  76. /*!40000 ALTER TABLE `device_alarm` DISABLE KEYS */;
  77. /*!40000 ALTER TABLE `device_alarm` ENABLE KEYS */;
  78. UNLOCK TABLES;
  79. --
  80. -- Table structure for table `device_channel`
  81. --
  82. DROP TABLE IF EXISTS `device_channel`;
  83. /*!40101 SET @saved_cs_client = @@character_set_client */;
  84. /*!50503 SET character_set_client = utf8mb4 */;
  85. CREATE TABLE `device_channel` (
  86. `channelId` varchar(50) NOT NULL,
  87. `name` varchar(255) DEFAULT NULL,
  88. `manufacture` varchar(50) DEFAULT NULL,
  89. `model` varchar(50) DEFAULT NULL,
  90. `owner` varchar(50) DEFAULT NULL,
  91. `civilCode` varchar(50) DEFAULT NULL,
  92. `block` varchar(50) DEFAULT NULL,
  93. `address` varchar(50) DEFAULT NULL,
  94. `parentId` varchar(50) DEFAULT NULL,
  95. `safetyWay` int DEFAULT NULL,
  96. `registerWay` int DEFAULT NULL,
  97. `certNum` varchar(50) DEFAULT NULL,
  98. `certifiable` int DEFAULT NULL,
  99. `errCode` int DEFAULT NULL,
  100. `endTime` varchar(50) DEFAULT NULL,
  101. `secrecy` varchar(50) DEFAULT NULL,
  102. `ipAddress` varchar(50) DEFAULT NULL,
  103. `port` int DEFAULT NULL,
  104. `password` varchar(255) DEFAULT NULL,
  105. `PTZType` int DEFAULT NULL,
  106. `status` int DEFAULT NULL,
  107. `longitude` double DEFAULT NULL,
  108. `latitude` double DEFAULT NULL,
  109. `streamId` varchar(50) DEFAULT NULL,
  110. `deviceId` varchar(50) NOT NULL,
  111. `parental` varchar(50) DEFAULT NULL,
  112. `hasAudio` bit(1) DEFAULT NULL,
  113. `createTime` varchar(50) NOT NULL,
  114. `updateTime` varchar(50) NOT NULL,
  115. PRIMARY KEY (`channelId`,`deviceId`)
  116. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  117. /*!40101 SET character_set_client = @saved_cs_client */;
  118. --
  119. -- Dumping data for table `device_channel`
  120. --
  121. LOCK TABLES `device_channel` WRITE;
  122. /*!40000 ALTER TABLE `device_channel` DISABLE KEYS */;
  123. INSERT INTO `device_channel` VALUES ('34020000001310000001','IPC','Dahua','IPC-HFW4433M-I2','0','340200','','axy','34020000001320000005',0,1,'',0,0,NULL,'0','',0,'',0,1,0,0,'','34020000001320000005','0',NULL,'2022-01-05 15:11:21','2022-01-05 15:11:21'),('34020000001310000001','通道1','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','192.168.1.17',37777,'',0,1,0,0,'','34020000002000000005','0',NULL,'2022-01-05 15:11:25','2022-01-05 15:11:25'),('34020000001310000065','GB_Chn_065','Dahua','DH-NVR5864-I','0','340200','','axy','34020000002000000005',0,1,'',0,0,NULL,'0','',0,'',0,1,0,0,'','34020000002000000005','0',NULL,'2022-01-05 15:11:25','2022-01-05 15:11:25'),('34020000001320000001','IPCamera 01','Mercury','MIPC368(P)W-4','Owner','CivilCode','','Address','',0,1,'',0,0,NULL,'0','',0,'',0,1,0,0,'','44010000001110008008','0',NULL,'2022-01-05 15:11:26','2022-01-05 15:11:26');
  124. /*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;
  125. UNLOCK TABLES;
  126. --
  127. -- Table structure for table `device_mobile_position`
  128. --
  129. DROP TABLE IF EXISTS `device_mobile_position`;
  130. /*!40101 SET @saved_cs_client = @@character_set_client */;
  131. /*!50503 SET character_set_client = utf8mb4 */;
  132. CREATE TABLE `device_mobile_position` (
  133. `deviceId` varchar(50) NOT NULL,
  134. `channelId` varchar(50) NOT NULL,
  135. `deviceName` varchar(255) DEFAULT NULL,
  136. `time` varchar(50) NOT NULL,
  137. `longitude` double NOT NULL,
  138. `latitude` double NOT NULL,
  139. `altitude` double DEFAULT NULL,
  140. `speed` double DEFAULT NULL,
  141. `direction` double DEFAULT NULL,
  142. `reportSource` varchar(50) DEFAULT NULL,
  143. `geodeticSystem` varchar(50) DEFAULT NULL,
  144. `cnLng` varchar(50) DEFAULT NULL,
  145. `cnLat` varchar(50) DEFAULT NULL,
  146. PRIMARY KEY (`deviceId`,`time`)
  147. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  148. /*!40101 SET character_set_client = @saved_cs_client */;
  149. --
  150. -- Dumping data for table `device_mobile_position`
  151. --
  152. LOCK TABLES `device_mobile_position` WRITE;
  153. /*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;
  154. /*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;
  155. UNLOCK TABLES;
  156. --
  157. -- Table structure for table `gb_stream`
  158. --
  159. DROP TABLE IF EXISTS `gb_stream`;
  160. /*!40101 SET @saved_cs_client = @@character_set_client */;
  161. /*!50503 SET character_set_client = utf8mb4 */;
  162. CREATE TABLE `gb_stream` (
  163. `app` varchar(255) NOT NULL,
  164. `stream` varchar(255) NOT NULL,
  165. `gbId` varchar(50) NOT NULL,
  166. `name` varchar(255) DEFAULT NULL,
  167. `longitude` double DEFAULT NULL,
  168. `latitude` double DEFAULT NULL,
  169. `streamType` varchar(50) DEFAULT NULL,
  170. `mediaServerId` varchar(50) DEFAULT NULL,
  171. `status` int DEFAULT NULL,
  172. PRIMARY KEY (`app`,`stream`,`gbId`)
  173. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  174. /*!40101 SET character_set_client = @saved_cs_client */;
  175. --
  176. -- Dumping data for table `gb_stream`
  177. --
  178. LOCK TABLES `gb_stream` WRITE;
  179. /*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;
  180. INSERT INTO `gb_stream` VALUES ('1000','10000001_52869999','77777777777777777777','shoulei1111',0,0,'push','XR1LEpKlfQtSg9Z1',1);
  181. /*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;
  182. UNLOCK TABLES;
  183. --
  184. -- Table structure for table `log`
  185. --
  186. DROP TABLE IF EXISTS `log`;
  187. /*!40101 SET @saved_cs_client = @@character_set_client */;
  188. /*!50503 SET character_set_client = utf8mb4 */;
  189. CREATE TABLE `log` (
  190. `id` int NOT NULL AUTO_INCREMENT,
  191. `name` varchar(50) NOT NULL,
  192. `type` varchar(50) NOT NULL,
  193. `uri` varchar(200) NOT NULL,
  194. `address` varchar(50) NOT NULL,
  195. `result` varchar(50) NOT NULL,
  196. `timing` bigint NOT NULL,
  197. `username` varchar(50) NOT NULL,
  198. `createTime` varchar(50) NOT NULL,
  199. PRIMARY KEY (`id`)
  200. ) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  201. /*!40101 SET character_set_client = @saved_cs_client */;
  202. --
  203. -- Dumping data for table `log`
  204. --
  205. LOCK TABLES `log` WRITE;
  206. /*!40000 ALTER TABLE `log` DISABLE KEYS */;
  207. INSERT INTO `log` VALUES (1,'登录','GET','/api/user/login','127.0.0.1','200 OK',245,'admin','2022-01-05 15:09:06'),(2,'添加上级平台','POST','/api/platform/save','127.0.0.1','200 OK',88,'admin','2022-01-05 15:09:24'),(3,'[设备查询] 同步设备通道','POST','/api/device/query/devices/34020000001320000005/sync','127.0.0.1','200 OK',17,'admin','2022-01-05 15:11:21'),(4,'[设备查询] 同步设备通道','POST','/api/device/query/devices/34020000002000000005/sync','127.0.0.1','200 OK',4,'admin','2022-01-05 15:11:25'),(5,'[设备查询] 同步设备通道','POST','/api/device/query/devices/44010000001110008008/sync','127.0.0.1','200 OK',4,'admin','2022-01-05 15:11:26'),(6,'向上级平台添加国标通道','POST','/api/platform/update_channel_for_gb','127.0.0.1','200 OK',52,'admin','2022-01-05 15:11:32'),(7,'从上级平台移除国标通道','DELETE','/api/platform/del_channel_for_gb','127.0.0.1','200 OK',35,'admin','2022-01-05 15:11:34'),(8,'向上级平台添加国标通道','POST','/api/platform/update_channel_for_gb','127.0.0.1','200 OK',39,'admin','2022-01-05 15:11:35'),(9,'从上级平台移除国标通道','DELETE','/api/platform/del_channel_for_gb','127.0.0.1','200 OK',46,'admin','2022-01-05 15:14:00'),(10,'向上级平台添加国标通道','POST','/api/platform/update_channel_for_gb','127.0.0.1','200 OK',59,'admin','2022-01-05 15:14:01'),(11,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',12,'admin','2022-01-05 15:14:16'),(12,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',8,'admin','2022-01-05 15:14:17'),(13,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',6,'admin','2022-01-05 15:14:19'),(14,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',8,'admin','2022-01-05 15:14:19'),(15,'移除通道与国标的关联','DELETE','/api/gbStream/del','127.0.0.1','200 OK',11,'admin','2022-01-05 15:14:21'),(16,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',42,'admin','2022-01-05 15:14:24'),(17,'移除通道与国标的关联','DELETE','/api/gbStream/del','127.0.0.1','200 OK',43,'admin','2022-01-05 15:14:25'),(18,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',9,'admin','2022-01-05 15:14:27'),(19,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',9,'admin','2022-01-05 15:14:37'),(20,'添加通道与国标的关联','POST','/api/gbStream/add','127.0.0.1','200 OK',10,'admin','2022-01-05 15:14:38');
  208. /*!40000 ALTER TABLE `log` ENABLE KEYS */;
  209. UNLOCK TABLES;
  210. --
  211. -- Table structure for table `media_server`
  212. --
  213. DROP TABLE IF EXISTS `media_server`;
  214. /*!40101 SET @saved_cs_client = @@character_set_client */;
  215. /*!50503 SET character_set_client = utf8mb4 */;
  216. CREATE TABLE `media_server` (
  217. `id` varchar(255) NOT NULL,
  218. `ip` varchar(50) NOT NULL,
  219. `hookIp` varchar(50) NOT NULL,
  220. `sdpIp` varchar(50) NOT NULL,
  221. `streamIp` varchar(50) NOT NULL,
  222. `httpPort` int NOT NULL,
  223. `httpSSlPort` int NOT NULL,
  224. `rtmpPort` int NOT NULL,
  225. `rtmpSSlPort` int NOT NULL,
  226. `rtpProxyPort` int NOT NULL,
  227. `rtspPort` int NOT NULL,
  228. `rtspSSLPort` int NOT NULL,
  229. `autoConfig` int NOT NULL,
  230. `secret` varchar(50) NOT NULL,
  231. `streamNoneReaderDelayMS` int NOT NULL,
  232. `rtpEnable` int NOT NULL,
  233. `rtpPortRange` varchar(50) NOT NULL,
  234. `sendRtpPortRange` varchar(50) NOT NULL,
  235. `recordAssistPort` int NOT NULL,
  236. `defaultServer` int NOT NULL,
  237. `createTime` varchar(50) NOT NULL,
  238. `updateTime` varchar(50) NOT NULL,
  239. `hookAliveInterval` int NOT NULL,
  240. PRIMARY KEY (`id`),
  241. UNIQUE KEY `media_server_i` (`ip`,`httpPort`)
  242. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  243. /*!40101 SET character_set_client = @saved_cs_client */;
  244. --
  245. -- Dumping data for table `media_server`
  246. --
  247. LOCK TABLES `media_server` WRITE;
  248. /*!40000 ALTER TABLE `media_server` DISABLE KEYS */;
  249. INSERT INTO `media_server` VALUES ('XR1LEpKlfQtSg9Z1','192.168.1.3','127.0.0.1','192.168.1.3','192.168.1.3',6080,0,10935,0,10000,10554,0,1,'035c73f7-bb6b-4889-a715-d9eb2d1925cc',100000,1,'30000,30500','30000,30500',18081,1,'2022-01-05 15:08:27','2022-01-05 15:08:27',10);
  250. /*!40000 ALTER TABLE `media_server` ENABLE KEYS */;
  251. UNLOCK TABLES;
  252. --
  253. -- Table structure for table `parent_platform`
  254. --
  255. DROP TABLE IF EXISTS `parent_platform`;
  256. /*!40101 SET @saved_cs_client = @@character_set_client */;
  257. /*!50503 SET character_set_client = utf8mb4 */;
  258. CREATE TABLE `parent_platform` (
  259. `id` int NOT NULL AUTO_INCREMENT,
  260. `enable` int DEFAULT NULL,
  261. `name` varchar(255) DEFAULT NULL,
  262. `serverGBId` varchar(50) NOT NULL,
  263. `serverGBDomain` varchar(50) DEFAULT NULL,
  264. `serverIP` varchar(50) DEFAULT NULL,
  265. `serverPort` int DEFAULT NULL,
  266. `deviceGBId` varchar(50) NOT NULL,
  267. `deviceIp` varchar(50) DEFAULT NULL,
  268. `devicePort` varchar(50) DEFAULT NULL,
  269. `username` varchar(255) DEFAULT NULL,
  270. `password` varchar(50) DEFAULT NULL,
  271. `expires` varchar(50) DEFAULT NULL,
  272. `keepTimeout` varchar(50) DEFAULT NULL,
  273. `transport` varchar(50) DEFAULT NULL,
  274. `characterSet` varchar(50) DEFAULT NULL,
  275. `catalogId` varchar(50) NOT NULL,
  276. `ptz` int DEFAULT NULL,
  277. `rtcp` int DEFAULT NULL,
  278. `status` bit(1) DEFAULT NULL,
  279. `shareAllLiveStream` int DEFAULT NULL,
  280. PRIMARY KEY (`id`,`serverGBId`)
  281. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  282. /*!40101 SET character_set_client = @saved_cs_client */;
  283. --
  284. -- Dumping data for table `parent_platform`
  285. --
  286. LOCK TABLES `parent_platform` WRITE;
  287. /*!40000 ALTER TABLE `parent_platform` DISABLE KEYS */;
  288. INSERT INTO `parent_platform` VALUES (1,1,'1112','1111111111111','1111111111','11.11.11.11',111111,'34020000002110000015','192.168.1.3','5060','34020000002110000015','12345678','300','60','UDP','GB2312','1111111111111',1,0,_binary '\0',1);
  289. /*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;
  290. UNLOCK TABLES;
  291. --
  292. -- Table structure for table `platform_catalog`
  293. --
  294. DROP TABLE IF EXISTS `platform_catalog`;
  295. /*!40101 SET @saved_cs_client = @@character_set_client */;
  296. /*!50503 SET character_set_client = utf8mb4 */;
  297. CREATE TABLE `platform_catalog` (
  298. `id` varchar(50) NOT NULL,
  299. `platformId` varchar(50) NOT NULL,
  300. `name` varchar(255) NOT NULL,
  301. `parentId` varchar(50) DEFAULT NULL,
  302. PRIMARY KEY (`id`)
  303. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  304. /*!40101 SET character_set_client = @saved_cs_client */;
  305. --
  306. -- Dumping data for table `platform_catalog`
  307. --
  308. LOCK TABLES `platform_catalog` WRITE;
  309. /*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;
  310. INSERT INTO `platform_catalog` VALUES ('1111111111','1111111111111','11122','1111111111111');
  311. /*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;
  312. UNLOCK TABLES;
  313. --
  314. -- Table structure for table `platform_gb_channel`
  315. --
  316. DROP TABLE IF EXISTS `platform_gb_channel`;
  317. /*!40101 SET @saved_cs_client = @@character_set_client */;
  318. /*!50503 SET character_set_client = utf8mb4 */;
  319. CREATE TABLE `platform_gb_channel` (
  320. `channelId` varchar(50) NOT NULL,
  321. `deviceId` varchar(50) NOT NULL,
  322. `platformId` varchar(50) NOT NULL,
  323. `deviceAndChannelId` varchar(50) NOT NULL,
  324. `catalogId` varchar(50) NOT NULL,
  325. PRIMARY KEY (`deviceAndChannelId`,`platformId`)
  326. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  327. /*!40101 SET character_set_client = @saved_cs_client */;
  328. --
  329. -- Dumping data for table `platform_gb_channel`
  330. --
  331. LOCK TABLES `platform_gb_channel` WRITE;
  332. /*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;
  333. INSERT INTO `platform_gb_channel` VALUES ('34020000001310000001','34020000001320000005','1111111111111','34020000001320000005_34020000001310000001','1111111111'),('34020000001310000001','34020000002000000005','1111111111111','34020000002000000005_34020000001310000001','1111111111'),('34020000001310000065','34020000002000000005','1111111111111','34020000002000000005_34020000001310000065','1111111111'),('34020000001320000001','44010000001110008008','1111111111111','44010000001110008008_34020000001320000001','1111111111');
  334. /*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;
  335. UNLOCK TABLES;
  336. --
  337. -- Table structure for table `platform_gb_stream`
  338. --
  339. DROP TABLE IF EXISTS `platform_gb_stream`;
  340. /*!40101 SET @saved_cs_client = @@character_set_client */;
  341. /*!50503 SET character_set_client = utf8mb4 */;
  342. CREATE TABLE `platform_gb_stream` (
  343. `platformId` varchar(50) NOT NULL,
  344. `app` varchar(255) NOT NULL,
  345. `stream` varchar(255) NOT NULL,
  346. `catalogId` varchar(50) NOT NULL,
  347. PRIMARY KEY (`platformId`,`app`,`stream`)
  348. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  349. /*!40101 SET character_set_client = @saved_cs_client */;
  350. --
  351. -- Dumping data for table `platform_gb_stream`
  352. --
  353. LOCK TABLES `platform_gb_stream` WRITE;
  354. /*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;
  355. INSERT INTO `platform_gb_stream` VALUES ('1111111111111','1000','10000001_52869999','1111111111');
  356. /*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;
  357. UNLOCK TABLES;
  358. --
  359. -- Table structure for table `role`
  360. --
  361. DROP TABLE IF EXISTS `role`;
  362. /*!40101 SET @saved_cs_client = @@character_set_client */;
  363. /*!50503 SET character_set_client = utf8mb4 */;
  364. CREATE TABLE `role` (
  365. `id` int NOT NULL AUTO_INCREMENT,
  366. `name` text NOT NULL,
  367. `authority` text NOT NULL,
  368. `createTime` varchar(50) NOT NULL,
  369. `updateTime` varchar(50) NOT NULL,
  370. PRIMARY KEY (`id`)
  371. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  372. /*!40101 SET character_set_client = @saved_cs_client */;
  373. --
  374. -- Dumping data for table `role`
  375. --
  376. LOCK TABLES `role` WRITE;
  377. /*!40000 ALTER TABLE `role` DISABLE KEYS */;
  378. INSERT INTO `role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
  379. /*!40000 ALTER TABLE `role` ENABLE KEYS */;
  380. UNLOCK TABLES;
  381. --
  382. -- Table structure for table `stream_proxy`
  383. --
  384. DROP TABLE IF EXISTS `stream_proxy`;
  385. /*!40101 SET @saved_cs_client = @@character_set_client */;
  386. /*!50503 SET character_set_client = utf8mb4 */;
  387. CREATE TABLE `stream_proxy` (
  388. `type` varchar(50) NOT NULL,
  389. `app` varchar(255) NOT NULL,
  390. `stream` varchar(255) NOT NULL,
  391. `url` varchar(255) DEFAULT NULL,
  392. `src_url` varchar(255) DEFAULT NULL,
  393. `dst_url` varchar(255) DEFAULT NULL,
  394. `timeout_ms` int DEFAULT NULL,
  395. `ffmpeg_cmd_key` varchar(255) DEFAULT NULL,
  396. `rtp_type` varchar(50) DEFAULT NULL,
  397. `mediaServerId` varchar(50) DEFAULT NULL,
  398. `enable_hls` bit(1) DEFAULT NULL,
  399. `enable_mp4` bit(1) DEFAULT NULL,
  400. `enable` bit(1) NOT NULL,
  401. `enable_remove_none_reader` bit(1) NOT NULL,
  402. `createTime` varchar(50) NOT NULL,
  403. PRIMARY KEY (`app`,`stream`)
  404. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  405. /*!40101 SET character_set_client = @saved_cs_client */;
  406. --
  407. -- Dumping data for table `stream_proxy`
  408. --
  409. LOCK TABLES `stream_proxy` WRITE;
  410. /*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;
  411. /*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;
  412. UNLOCK TABLES;
  413. --
  414. -- Table structure for table `stream_push`
  415. --
  416. DROP TABLE IF EXISTS `stream_push`;
  417. /*!40101 SET @saved_cs_client = @@character_set_client */;
  418. /*!50503 SET character_set_client = utf8mb4 */;
  419. CREATE TABLE `stream_push` (
  420. `app` varchar(255) NOT NULL,
  421. `stream` varchar(255) NOT NULL,
  422. `totalReaderCount` varchar(50) DEFAULT NULL,
  423. `originType` int DEFAULT NULL,
  424. `originTypeStr` varchar(50) DEFAULT NULL,
  425. `createStamp` int DEFAULT NULL,
  426. `aliveSecond` int DEFAULT NULL,
  427. `mediaServerId` varchar(50) DEFAULT NULL,
  428. PRIMARY KEY (`app`,`stream`)
  429. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  430. /*!40101 SET character_set_client = @saved_cs_client */;
  431. --
  432. -- Dumping data for table `stream_push`
  433. --
  434. LOCK TABLES `stream_push` WRITE;
  435. /*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;
  436. INSERT INTO `stream_push` VALUES ('1000','10000001_52869999','0',2,'rtsp_push',1641366850,0,'XR1LEpKlfQtSg9Z1');
  437. /*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;
  438. UNLOCK TABLES;
  439. --
  440. -- Table structure for table `user`
  441. --
  442. DROP TABLE IF EXISTS `user`;
  443. /*!40101 SET @saved_cs_client = @@character_set_client */;
  444. /*!50503 SET character_set_client = utf8mb4 */;
  445. CREATE TABLE `user` (
  446. `id` int NOT NULL AUTO_INCREMENT,
  447. `username` varchar(255) NOT NULL,
  448. `password` varchar(255) NOT NULL,
  449. `roleId` int NOT NULL,
  450. `createTime` varchar(50) NOT NULL,
  451. `updateTime` varchar(50) NOT NULL,
  452. PRIMARY KEY (`id`),
  453. UNIQUE KEY `user_username_uindex` (`username`)
  454. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
  455. /*!40101 SET character_set_client = @saved_cs_client */;
  456. --
  457. -- Dumping data for table `user`
  458. --
  459. LOCK TABLES `user` WRITE;
  460. /*!40000 ALTER TABLE `user` DISABLE KEYS */;
  461. INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57');
  462. /*!40000 ALTER TABLE `user` ENABLE KEYS */;
  463. UNLOCK TABLES;
  464. --
  465. -- Dumping routines for database 'wvp'
  466. --
  467. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  468. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  469. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  470. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  471. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  472. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  473. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  474. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  475. -- Dump completed on 2022-01-05 15:15:35