Commit 94688534f8fb169a2befc85f0ba1c74388a8aa7f

Authored by 648540858
1 parent 5f7fa278

移除db 导出的sql文件

sql/dump-wvp-202201051515.sql deleted 100644 → 0
1 --- 此脚本采用dbeaver导出  
2 --- MySQL dump 10.13 Distrib 8.0.27, for Linux (x86_64)  
3 ---  
4 --- Host: localhost Database: wvp  
5 --- ------------------------------------------------------  
6 --- Server version 8.0.27-0ubuntu0.20.04.1  
7 -  
8 -/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;  
9 -/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;  
10 -/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;  
11 -/*!50503 SET NAMES utf8mb4 */;  
12 -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;  
13 -/*!40103 SET TIME_ZONE='+00:00' */;  
14 -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;  
15 -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;  
16 -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;  
17 -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;  
18 -  
19 ---  
20 --- Table structure for table `device`  
21 ---  
22 -  
23 -DROP TABLE IF EXISTS `device`;  
24 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
25 -/*!50503 SET character_set_client = utf8mb4 */;  
26 -CREATE TABLE `device` (  
27 - `deviceId` varchar(50) NOT NULL,  
28 - `name` varchar(255) DEFAULT NULL,  
29 - `manufacturer` varchar(255) DEFAULT NULL,  
30 - `model` varchar(255) DEFAULT NULL,  
31 - `firmware` varchar(255) DEFAULT NULL,  
32 - `transport` varchar(50) DEFAULT NULL,  
33 - `streamMode` varchar(50) DEFAULT NULL,  
34 - `online` varchar(50) DEFAULT NULL,  
35 - `registerTime` varchar(50) DEFAULT NULL,  
36 - `keepaliveTime` varchar(50) DEFAULT NULL,  
37 - `ip` varchar(50) NOT NULL,  
38 - `createTime` varchar(50) NOT NULL,  
39 - `updateTime` varchar(50) NOT NULL,  
40 - `port` int NOT NULL,  
41 - `expires` int NOT NULL,  
42 - `subscribeCycleForCatalog` int NOT NULL,  
43 - `hostAddress` varchar(50) NOT NULL,  
44 - `charset` varchar(50) NOT NULL,  
45 - PRIMARY KEY (`deviceId`)  
46 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
47 -/*!40101 SET character_set_client = @saved_cs_client */;  
48 -  
49 ---  
50 --- Dumping data for table `device`  
51 ---  
52 -  
53 -LOCK TABLES `device` WRITE;  
54 -/*!40000 ALTER TABLE `device` DISABLE KEYS */;  
55 -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');  
56 -/*!40000 ALTER TABLE `device` ENABLE KEYS */;  
57 -UNLOCK TABLES;  
58 -  
59 ---  
60 --- Table structure for table `device_alarm`  
61 ---  
62 -  
63 -DROP TABLE IF EXISTS `device_alarm`;  
64 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
65 -/*!50503 SET character_set_client = utf8mb4 */;  
66 -CREATE TABLE `device_alarm` (  
67 - `id` int NOT NULL AUTO_INCREMENT,  
68 - `deviceId` varchar(50) NOT NULL,  
69 - `channelId` varchar(50) NOT NULL,  
70 - `alarmPriority` varchar(50) NOT NULL,  
71 - `alarmMethod` varchar(50) DEFAULT NULL,  
72 - `alarmTime` varchar(50) NOT NULL,  
73 - `alarmDescription` varchar(255) DEFAULT NULL,  
74 - `longitude` double DEFAULT NULL,  
75 - `latitude` double DEFAULT NULL,  
76 - `alarmType` varchar(50) DEFAULT NULL,  
77 - PRIMARY KEY (`id`)  
78 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
79 -/*!40101 SET character_set_client = @saved_cs_client */;  
80 -  
81 ---  
82 --- Dumping data for table `device_alarm`  
83 ---  
84 -  
85 -LOCK TABLES `device_alarm` WRITE;  
86 -/*!40000 ALTER TABLE `device_alarm` DISABLE KEYS */;  
87 -/*!40000 ALTER TABLE `device_alarm` ENABLE KEYS */;  
88 -UNLOCK TABLES;  
89 -  
90 ---  
91 --- Table structure for table `device_channel`  
92 ---  
93 -  
94 -DROP TABLE IF EXISTS `device_channel`;  
95 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
96 -/*!50503 SET character_set_client = utf8mb4 */;  
97 -CREATE TABLE `device_channel` (  
98 - `channelId` varchar(50) NOT NULL,  
99 - `name` varchar(255) DEFAULT NULL,  
100 - `manufacture` varchar(50) DEFAULT NULL,  
101 - `model` varchar(50) DEFAULT NULL,  
102 - `owner` varchar(50) DEFAULT NULL,  
103 - `civilCode` varchar(50) DEFAULT NULL,  
104 - `block` varchar(50) DEFAULT NULL,  
105 - `address` varchar(50) DEFAULT NULL,  
106 - `parentId` varchar(50) DEFAULT NULL,  
107 - `safetyWay` int DEFAULT NULL,  
108 - `registerWay` int DEFAULT NULL,  
109 - `certNum` varchar(50) DEFAULT NULL,  
110 - `certifiable` int DEFAULT NULL,  
111 - `errCode` int DEFAULT NULL,  
112 - `endTime` varchar(50) DEFAULT NULL,  
113 - `secrecy` varchar(50) DEFAULT NULL,  
114 - `ipAddress` varchar(50) DEFAULT NULL,  
115 - `port` int DEFAULT NULL,  
116 - `password` varchar(255) DEFAULT NULL,  
117 - `PTZType` int DEFAULT NULL,  
118 - `status` int DEFAULT NULL,  
119 - `longitude` double DEFAULT NULL,  
120 - `latitude` double DEFAULT NULL,  
121 - `streamId` varchar(50) DEFAULT NULL,  
122 - `deviceId` varchar(50) NOT NULL,  
123 - `parental` varchar(50) DEFAULT NULL,  
124 - `hasAudio` bit(1) DEFAULT NULL,  
125 - `createTime` varchar(50) NOT NULL,  
126 - `updateTime` varchar(50) NOT NULL,  
127 - PRIMARY KEY (`channelId`,`deviceId`)  
128 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
129 -/*!40101 SET character_set_client = @saved_cs_client */;  
130 -  
131 ---  
132 --- Dumping data for table `device_channel`  
133 ---  
134 -  
135 -LOCK TABLES `device_channel` WRITE;  
136 -/*!40000 ALTER TABLE `device_channel` DISABLE KEYS */;  
137 -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');  
138 -/*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;  
139 -UNLOCK TABLES;  
140 -  
141 ---  
142 --- Table structure for table `device_mobile_position`  
143 ---  
144 -  
145 -DROP TABLE IF EXISTS `device_mobile_position`;  
146 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
147 -/*!50503 SET character_set_client = utf8mb4 */;  
148 -CREATE TABLE `device_mobile_position` (  
149 - `deviceId` varchar(50) NOT NULL,  
150 - `channelId` varchar(50) NOT NULL,  
151 - `deviceName` varchar(255) DEFAULT NULL,  
152 - `time` varchar(50) NOT NULL,  
153 - `longitude` double NOT NULL,  
154 - `latitude` double NOT NULL,  
155 - `altitude` double DEFAULT NULL,  
156 - `speed` double DEFAULT NULL,  
157 - `direction` double DEFAULT NULL,  
158 - `reportSource` varchar(50) DEFAULT NULL,  
159 - `geodeticSystem` varchar(50) DEFAULT NULL,  
160 - `cnLng` varchar(50) DEFAULT NULL,  
161 - `cnLat` varchar(50) DEFAULT NULL,  
162 - PRIMARY KEY (`deviceId`,`time`)  
163 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
164 -/*!40101 SET character_set_client = @saved_cs_client */;  
165 -  
166 ---  
167 --- Dumping data for table `device_mobile_position`  
168 ---  
169 -  
170 -LOCK TABLES `device_mobile_position` WRITE;  
171 -/*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;  
172 -/*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;  
173 -UNLOCK TABLES;  
174 -  
175 ---  
176 --- Table structure for table `gb_stream`  
177 ---  
178 -  
179 -DROP TABLE IF EXISTS `gb_stream`;  
180 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
181 -/*!50503 SET character_set_client = utf8mb4 */;  
182 -CREATE TABLE `gb_stream` (  
183 - `app` varchar(255) NOT NULL,  
184 - `stream` varchar(255) NOT NULL,  
185 - `gbId` varchar(50) NOT NULL,  
186 - `name` varchar(255) DEFAULT NULL,  
187 - `longitude` double DEFAULT NULL,  
188 - `latitude` double DEFAULT NULL,  
189 - `streamType` varchar(50) DEFAULT NULL,  
190 - `mediaServerId` varchar(50) DEFAULT NULL,  
191 - `status` int DEFAULT NULL,  
192 - PRIMARY KEY (`app`,`stream`,`gbId`)  
193 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
194 -/*!40101 SET character_set_client = @saved_cs_client */;  
195 -  
196 ---  
197 --- Dumping data for table `gb_stream`  
198 ---  
199 -  
200 -LOCK TABLES `gb_stream` WRITE;  
201 -/*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;  
202 -INSERT INTO `gb_stream` VALUES ('1000','10000001_52869999','77777777777777777777','shoulei1111',0,0,'push','XR1LEpKlfQtSg9Z1',1);  
203 -/*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;  
204 -UNLOCK TABLES;  
205 -  
206 ---  
207 --- Table structure for table `log`  
208 ---  
209 -  
210 -DROP TABLE IF EXISTS `log`;  
211 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
212 -/*!50503 SET character_set_client = utf8mb4 */;  
213 -CREATE TABLE `log` (  
214 - `id` int NOT NULL AUTO_INCREMENT,  
215 - `name` varchar(50) NOT NULL,  
216 - `type` varchar(50) NOT NULL,  
217 - `uri` varchar(200) NOT NULL,  
218 - `address` varchar(50) NOT NULL,  
219 - `result` varchar(50) NOT NULL,  
220 - `timing` bigint NOT NULL,  
221 - `username` varchar(50) NOT NULL,  
222 - `createTime` varchar(50) NOT NULL,  
223 - PRIMARY KEY (`id`)  
224 -) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
225 -/*!40101 SET character_set_client = @saved_cs_client */;  
226 -  
227 ---  
228 --- Dumping data for table `log`  
229 ---  
230 -  
231 -LOCK TABLES `log` WRITE;  
232 -/*!40000 ALTER TABLE `log` DISABLE KEYS */;  
233 -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');  
234 -/*!40000 ALTER TABLE `log` ENABLE KEYS */;  
235 -UNLOCK TABLES;  
236 -  
237 ---  
238 --- Table structure for table `media_server`  
239 ---  
240 -  
241 -DROP TABLE IF EXISTS `media_server`;  
242 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
243 -/*!50503 SET character_set_client = utf8mb4 */;  
244 -CREATE TABLE `media_server` (  
245 - `id` varchar(255) NOT NULL,  
246 - `ip` varchar(50) NOT NULL,  
247 - `hookIp` varchar(50) NOT NULL,  
248 - `sdpIp` varchar(50) NOT NULL,  
249 - `streamIp` varchar(50) NOT NULL,  
250 - `httpPort` int NOT NULL,  
251 - `httpSSlPort` int NOT NULL,  
252 - `rtmpPort` int NOT NULL,  
253 - `rtmpSSlPort` int NOT NULL,  
254 - `rtpProxyPort` int NOT NULL,  
255 - `rtspPort` int NOT NULL,  
256 - `rtspSSLPort` int NOT NULL,  
257 - `autoConfig` int NOT NULL,  
258 - `secret` varchar(50) NOT NULL,  
259 - `streamNoneReaderDelayMS` int NOT NULL,  
260 - `rtpEnable` int NOT NULL,  
261 - `rtpPortRange` varchar(50) NOT NULL,  
262 - `sendRtpPortRange` varchar(50) NOT NULL,  
263 - `recordAssistPort` int NOT NULL,  
264 - `defaultServer` int NOT NULL,  
265 - `createTime` varchar(50) NOT NULL,  
266 - `updateTime` varchar(50) NOT NULL,  
267 - `hookAliveInterval` int NOT NULL,  
268 - PRIMARY KEY (`id`),  
269 - UNIQUE KEY `media_server_i` (`ip`,`httpPort`)  
270 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
271 -/*!40101 SET character_set_client = @saved_cs_client */;  
272 -  
273 ---  
274 --- Dumping data for table `media_server`  
275 ---  
276 -  
277 -LOCK TABLES `media_server` WRITE;  
278 -/*!40000 ALTER TABLE `media_server` DISABLE KEYS */;  
279 -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);  
280 -/*!40000 ALTER TABLE `media_server` ENABLE KEYS */;  
281 -UNLOCK TABLES;  
282 -  
283 ---  
284 --- Table structure for table `parent_platform`  
285 ---  
286 -  
287 -DROP TABLE IF EXISTS `parent_platform`;  
288 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
289 -/*!50503 SET character_set_client = utf8mb4 */;  
290 -CREATE TABLE `parent_platform` (  
291 - `id` int NOT NULL AUTO_INCREMENT,  
292 - `enable` int DEFAULT NULL,  
293 - `name` varchar(255) DEFAULT NULL,  
294 - `serverGBId` varchar(50) NOT NULL,  
295 - `serverGBDomain` varchar(50) DEFAULT NULL,  
296 - `serverIP` varchar(50) DEFAULT NULL,  
297 - `serverPort` int DEFAULT NULL,  
298 - `deviceGBId` varchar(50) NOT NULL,  
299 - `deviceIp` varchar(50) DEFAULT NULL,  
300 - `devicePort` varchar(50) DEFAULT NULL,  
301 - `username` varchar(255) DEFAULT NULL,  
302 - `password` varchar(50) DEFAULT NULL,  
303 - `expires` varchar(50) DEFAULT NULL,  
304 - `keepTimeout` varchar(50) DEFAULT NULL,  
305 - `transport` varchar(50) DEFAULT NULL,  
306 - `characterSet` varchar(50) DEFAULT NULL,  
307 - `catalogId` varchar(50) NOT NULL,  
308 - `ptz` int DEFAULT NULL,  
309 - `rtcp` int DEFAULT NULL,  
310 - `status` bit(1) DEFAULT NULL,  
311 - `shareAllLiveStream` int DEFAULT NULL,  
312 - PRIMARY KEY (`id`,`serverGBId`)  
313 -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
314 -/*!40101 SET character_set_client = @saved_cs_client */;  
315 -  
316 ---  
317 --- Dumping data for table `parent_platform`  
318 ---  
319 -  
320 -LOCK TABLES `parent_platform` WRITE;  
321 -/*!40000 ALTER TABLE `parent_platform` DISABLE KEYS */;  
322 -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);  
323 -/*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;  
324 -UNLOCK TABLES;  
325 -  
326 ---  
327 --- Table structure for table `platform_catalog`  
328 ---  
329 -  
330 -DROP TABLE IF EXISTS `platform_catalog`;  
331 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
332 -/*!50503 SET character_set_client = utf8mb4 */;  
333 -CREATE TABLE `platform_catalog` (  
334 - `id` varchar(50) NOT NULL,  
335 - `platformId` varchar(50) NOT NULL,  
336 - `name` varchar(255) NOT NULL,  
337 - `parentId` varchar(50) DEFAULT NULL,  
338 - PRIMARY KEY (`id`)  
339 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
340 -/*!40101 SET character_set_client = @saved_cs_client */;  
341 -  
342 ---  
343 --- Dumping data for table `platform_catalog`  
344 ---  
345 -  
346 -LOCK TABLES `platform_catalog` WRITE;  
347 -/*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;  
348 -INSERT INTO `platform_catalog` VALUES ('1111111111','1111111111111','11122','1111111111111');  
349 -/*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;  
350 -UNLOCK TABLES;  
351 -  
352 ---  
353 --- Table structure for table `platform_gb_channel`  
354 ---  
355 -  
356 -DROP TABLE IF EXISTS `platform_gb_channel`;  
357 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
358 -/*!50503 SET character_set_client = utf8mb4 */;  
359 -CREATE TABLE `platform_gb_channel` (  
360 - `channelId` varchar(50) NOT NULL,  
361 - `deviceId` varchar(50) NOT NULL,  
362 - `platformId` varchar(50) NOT NULL,  
363 - `deviceAndChannelId` varchar(50) NOT NULL,  
364 - `catalogId` varchar(50) NOT NULL,  
365 - PRIMARY KEY (`deviceAndChannelId`,`platformId`)  
366 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
367 -/*!40101 SET character_set_client = @saved_cs_client */;  
368 -  
369 ---  
370 --- Dumping data for table `platform_gb_channel`  
371 ---  
372 -  
373 -LOCK TABLES `platform_gb_channel` WRITE;  
374 -/*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;  
375 -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');  
376 -/*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;  
377 -UNLOCK TABLES;  
378 -  
379 ---  
380 --- Table structure for table `platform_gb_stream`  
381 ---  
382 -  
383 -DROP TABLE IF EXISTS `platform_gb_stream`;  
384 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
385 -/*!50503 SET character_set_client = utf8mb4 */;  
386 -CREATE TABLE `platform_gb_stream` (  
387 - `platformId` varchar(50) NOT NULL,  
388 - `app` varchar(255) NOT NULL,  
389 - `stream` varchar(255) NOT NULL,  
390 - `catalogId` varchar(50) NOT NULL,  
391 - PRIMARY KEY (`platformId`,`app`,`stream`)  
392 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
393 -/*!40101 SET character_set_client = @saved_cs_client */;  
394 -  
395 ---  
396 --- Dumping data for table `platform_gb_stream`  
397 ---  
398 -  
399 -LOCK TABLES `platform_gb_stream` WRITE;  
400 -/*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;  
401 -INSERT INTO `platform_gb_stream` VALUES ('1111111111111','1000','10000001_52869999','1111111111');  
402 -/*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;  
403 -UNLOCK TABLES;  
404 -  
405 ---  
406 --- Table structure for table `role`  
407 ---  
408 -  
409 -DROP TABLE IF EXISTS `role`;  
410 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
411 -/*!50503 SET character_set_client = utf8mb4 */;  
412 -CREATE TABLE `role` (  
413 - `id` int NOT NULL AUTO_INCREMENT,  
414 - `name` text NOT NULL,  
415 - `authority` text NOT NULL,  
416 - `createTime` varchar(50) NOT NULL,  
417 - `updateTime` varchar(50) NOT NULL,  
418 - PRIMARY KEY (`id`)  
419 -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
420 -/*!40101 SET character_set_client = @saved_cs_client */;  
421 -  
422 ---  
423 --- Dumping data for table `role`  
424 ---  
425 -  
426 -LOCK TABLES `role` WRITE;  
427 -/*!40000 ALTER TABLE `role` DISABLE KEYS */;  
428 -INSERT INTO `role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');  
429 -/*!40000 ALTER TABLE `role` ENABLE KEYS */;  
430 -UNLOCK TABLES;  
431 -  
432 ---  
433 --- Table structure for table `stream_proxy`  
434 ---  
435 -  
436 -DROP TABLE IF EXISTS `stream_proxy`;  
437 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
438 -/*!50503 SET character_set_client = utf8mb4 */;  
439 -CREATE TABLE `stream_proxy` (  
440 - `type` varchar(50) NOT NULL,  
441 - `app` varchar(255) NOT NULL,  
442 - `stream` varchar(255) NOT NULL,  
443 - `url` varchar(255) DEFAULT NULL,  
444 - `src_url` varchar(255) DEFAULT NULL,  
445 - `dst_url` varchar(255) DEFAULT NULL,  
446 - `timeout_ms` int DEFAULT NULL,  
447 - `ffmpeg_cmd_key` varchar(255) DEFAULT NULL,  
448 - `rtp_type` varchar(50) DEFAULT NULL,  
449 - `mediaServerId` varchar(50) DEFAULT NULL,  
450 - `enable_hls` bit(1) DEFAULT NULL,  
451 - `enable_mp4` bit(1) DEFAULT NULL,  
452 - `enable` bit(1) NOT NULL,  
453 - `enable_remove_none_reader` bit(1) NOT NULL,  
454 - `createTime` varchar(50) NOT NULL,  
455 - PRIMARY KEY (`app`,`stream`)  
456 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
457 -/*!40101 SET character_set_client = @saved_cs_client */;  
458 -  
459 ---  
460 --- Dumping data for table `stream_proxy`  
461 ---  
462 -  
463 -LOCK TABLES `stream_proxy` WRITE;  
464 -/*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;  
465 -/*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;  
466 -UNLOCK TABLES;  
467 -  
468 ---  
469 --- Table structure for table `stream_push`  
470 ---  
471 -  
472 -DROP TABLE IF EXISTS `stream_push`;  
473 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
474 -/*!50503 SET character_set_client = utf8mb4 */;  
475 -CREATE TABLE `stream_push` (  
476 - `app` varchar(255) NOT NULL,  
477 - `stream` varchar(255) NOT NULL,  
478 - `totalReaderCount` varchar(50) DEFAULT NULL,  
479 - `originType` int DEFAULT NULL,  
480 - `originTypeStr` varchar(50) DEFAULT NULL,  
481 - `createStamp` int DEFAULT NULL,  
482 - `aliveSecond` int DEFAULT NULL,  
483 - `mediaServerId` varchar(50) DEFAULT NULL,  
484 - PRIMARY KEY (`app`,`stream`)  
485 -) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
486 -/*!40101 SET character_set_client = @saved_cs_client */;  
487 -  
488 ---  
489 --- Dumping data for table `stream_push`  
490 ---  
491 -  
492 -LOCK TABLES `stream_push` WRITE;  
493 -/*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;  
494 -INSERT INTO `stream_push` VALUES ('1000','10000001_52869999','0',2,'rtsp_push',1641366850,0,'XR1LEpKlfQtSg9Z1');  
495 -/*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;  
496 -UNLOCK TABLES;  
497 -  
498 ---  
499 --- Table structure for table `user`  
500 ---  
501 -  
502 -DROP TABLE IF EXISTS `user`;  
503 -/*!40101 SET @saved_cs_client = @@character_set_client */;  
504 -/*!50503 SET character_set_client = utf8mb4 */;  
505 -CREATE TABLE `user` (  
506 - `id` int NOT NULL AUTO_INCREMENT,  
507 - `username` varchar(255) NOT NULL,  
508 - `password` varchar(255) NOT NULL,  
509 - `roleId` int NOT NULL,  
510 - `createTime` varchar(50) NOT NULL,  
511 - `updateTime` varchar(50) NOT NULL,  
512 - PRIMARY KEY (`id`),  
513 - UNIQUE KEY `user_username_uindex` (`username`)  
514 -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;  
515 -/*!40101 SET character_set_client = @saved_cs_client */;  
516 -  
517 ---  
518 --- Dumping data for table `user`  
519 ---  
520 -  
521 -LOCK TABLES `user` WRITE;  
522 -/*!40000 ALTER TABLE `user` DISABLE KEYS */;  
523 -INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57');  
524 -/*!40000 ALTER TABLE `user` ENABLE KEYS */;  
525 -UNLOCK TABLES;  
526 -  
527 ---  
528 --- Dumping routines for database 'wvp'  
529 ---  
530 -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;  
531 -  
532 -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;  
533 -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;  
534 -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;  
535 -/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;  
536 -/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;  
537 -/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;  
538 -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;  
539 -  
540 --- Dump completed on 2022-01-05 15:15:35  
sql/mysql.sql
@@ -111,7 +111,7 @@ create table device_mobile_position @@ -111,7 +111,7 @@ create table device_mobile_position
111 111
112 create table gb_stream 112 create table gb_stream
113 ( 113 (
114 - id int auto_increment, 114 + id int auto_increment,
115 app varchar(255) not null, 115 app varchar(255) not null,
116 stream varchar(255) not null, 116 stream varchar(255) not null,
117 gbId varchar(50) not null, 117 gbId varchar(50) not null,