mysql.sql 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531
  1. -- MySQL dump 10.13 Distrib 8.0.27, for Linux (x86_64)
  2. --
  3. -- Host: 192.168.1.242 Database: wvp
  4. -- ------------------------------------------------------
  5. -- Server version 5.7.22
  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(11) NOT NULL,
  37. `expires` int(11) NOT NULL,
  38. `subscribeCycleForCatalog` int(11) NOT NULL,
  39. `hostAddress` varchar(50) NOT NULL,
  40. `charset` varchar(50) NOT NULL,
  41. PRIMARY KEY (`deviceId`)
  42. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  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. /*!40000 ALTER TABLE `device` ENABLE KEYS */;
  50. UNLOCK TABLES;
  51. --
  52. -- Table structure for table `device_alarm`
  53. --
  54. DROP TABLE IF EXISTS `device_alarm`;
  55. /*!40101 SET @saved_cs_client = @@character_set_client */;
  56. /*!50503 SET character_set_client = utf8mb4 */;
  57. CREATE TABLE `device_alarm` (
  58. `id` int(11) NOT NULL AUTO_INCREMENT,
  59. `deviceId` varchar(50) NOT NULL,
  60. `channelId` varchar(50) NOT NULL,
  61. `alarmPriority` varchar(50) NOT NULL,
  62. `alarmMethod` varchar(50) DEFAULT NULL,
  63. `alarmTime` varchar(50) NOT NULL,
  64. `alarmDescription` varchar(255) DEFAULT NULL,
  65. `longitude` double DEFAULT NULL,
  66. `latitude` double DEFAULT NULL,
  67. `alarmType` varchar(50) DEFAULT NULL,
  68. PRIMARY KEY (`id`)
  69. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  70. /*!40101 SET character_set_client = @saved_cs_client */;
  71. --
  72. -- Dumping data for table `device_alarm`
  73. --
  74. LOCK TABLES `device_alarm` WRITE;
  75. /*!40000 ALTER TABLE `device_alarm` DISABLE KEYS */;
  76. /*!40000 ALTER TABLE `device_alarm` ENABLE KEYS */;
  77. UNLOCK TABLES;
  78. --
  79. -- Table structure for table `device_channel`
  80. --
  81. DROP TABLE IF EXISTS `device_channel`;
  82. /*!40101 SET @saved_cs_client = @@character_set_client */;
  83. /*!50503 SET character_set_client = utf8mb4 */;
  84. CREATE TABLE `device_channel` (
  85. `channelId` varchar(50) NOT NULL,
  86. `name` varchar(255) DEFAULT NULL,
  87. `manufacture` varchar(50) DEFAULT NULL,
  88. `model` varchar(50) DEFAULT NULL,
  89. `owner` varchar(50) DEFAULT NULL,
  90. `civilCode` varchar(50) DEFAULT NULL,
  91. `block` varchar(50) DEFAULT NULL,
  92. `address` varchar(50) DEFAULT NULL,
  93. `parentId` varchar(50) DEFAULT NULL,
  94. `safetyWay` int(11) DEFAULT NULL,
  95. `registerWay` int(11) DEFAULT NULL,
  96. `certNum` varchar(50) DEFAULT NULL,
  97. `certifiable` int(11) DEFAULT NULL,
  98. `errCode` int(11) DEFAULT NULL,
  99. `subCount` int(11) DEFAULT 0,
  100. `endTime` varchar(50) DEFAULT NULL,
  101. `secrecy` varchar(50) DEFAULT NULL,
  102. `ipAddress` varchar(50) DEFAULT NULL,
  103. `port` int(11) DEFAULT NULL,
  104. `password` varchar(255) DEFAULT NULL,
  105. `PTZType` int(11) DEFAULT NULL,
  106. `status` int(11) 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;
  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. /*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;
  124. UNLOCK TABLES;
  125. --
  126. -- Table structure for table `device_mobile_position`
  127. --
  128. DROP TABLE IF EXISTS `device_mobile_position`;
  129. /*!40101 SET @saved_cs_client = @@character_set_client */;
  130. /*!50503 SET character_set_client = utf8mb4 */;
  131. CREATE TABLE `device_mobile_position` (
  132. `deviceId` varchar(50) NOT NULL,
  133. `channelId` varchar(50) NOT NULL,
  134. `deviceName` varchar(255) DEFAULT NULL,
  135. `time` varchar(50) NOT NULL,
  136. `longitude` double NOT NULL,
  137. `latitude` double NOT NULL,
  138. `altitude` double DEFAULT NULL,
  139. `speed` double DEFAULT NULL,
  140. `direction` double DEFAULT NULL,
  141. `reportSource` varchar(50) DEFAULT NULL,
  142. `geodeticSystem` varchar(50) DEFAULT NULL,
  143. `cnLng` varchar(50) DEFAULT NULL,
  144. `cnLat` varchar(50) DEFAULT NULL,
  145. PRIMARY KEY (`deviceId`,`time`)
  146. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  147. /*!40101 SET character_set_client = @saved_cs_client */;
  148. --
  149. -- Dumping data for table `device_mobile_position`
  150. --
  151. LOCK TABLES `device_mobile_position` WRITE;
  152. /*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;
  153. /*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;
  154. UNLOCK TABLES;
  155. --
  156. -- Table structure for table `gb_stream`
  157. --
  158. DROP TABLE IF EXISTS `gb_stream`;
  159. /*!40101 SET @saved_cs_client = @@character_set_client */;
  160. /*!50503 SET character_set_client = utf8mb4 */;
  161. CREATE TABLE `gb_stream` (
  162. `id` int(11) NOT NULL AUTO_INCREMENT,
  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(11) DEFAULT NULL,
  172. `createStamp` bigint(20) DEFAULT NULL,
  173. PRIMARY KEY (`id`),
  174. UNIQUE KEY `app` (`app`,`stream`),
  175. UNIQUE KEY `gbId` (`gbId`)
  176. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  177. /*!40101 SET character_set_client = @saved_cs_client */;
  178. --
  179. -- Dumping data for table `gb_stream`
  180. --
  181. LOCK TABLES `gb_stream` WRITE;
  182. /*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;
  183. /*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;
  184. UNLOCK TABLES;
  185. --
  186. -- Table structure for table `log`
  187. --
  188. DROP TABLE IF EXISTS `log`;
  189. /*!40101 SET @saved_cs_client = @@character_set_client */;
  190. /*!50503 SET character_set_client = utf8mb4 */;
  191. CREATE TABLE `log` (
  192. `id` int(11) NOT NULL AUTO_INCREMENT,
  193. `name` varchar(50) NOT NULL,
  194. `type` varchar(50) NOT NULL,
  195. `uri` varchar(200) NOT NULL,
  196. `address` varchar(50) NOT NULL,
  197. `result` varchar(50) NOT NULL,
  198. `timing` bigint(20) NOT NULL,
  199. `username` varchar(50) NOT NULL,
  200. `createTime` varchar(50) NOT NULL,
  201. PRIMARY KEY (`id`)
  202. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  203. /*!40101 SET character_set_client = @saved_cs_client */;
  204. --
  205. -- Dumping data for table `log`
  206. --
  207. LOCK TABLES `log` WRITE;
  208. /*!40000 ALTER TABLE `log` DISABLE KEYS */;
  209. /*!40000 ALTER TABLE `log` ENABLE KEYS */;
  210. UNLOCK TABLES;
  211. --
  212. -- Table structure for table `media_server`
  213. --
  214. DROP TABLE IF EXISTS `media_server`;
  215. /*!40101 SET @saved_cs_client = @@character_set_client */;
  216. /*!50503 SET character_set_client = utf8mb4 */;
  217. CREATE TABLE `media_server` (
  218. `id` varchar(255) NOT NULL,
  219. `ip` varchar(50) NOT NULL,
  220. `hookIp` varchar(50) NOT NULL,
  221. `sdpIp` varchar(50) NOT NULL,
  222. `streamIp` varchar(50) NOT NULL,
  223. `httpPort` int(11) NOT NULL,
  224. `httpSSlPort` int(11) NOT NULL,
  225. `rtmpPort` int(11) NOT NULL,
  226. `rtmpSSlPort` int(11) NOT NULL,
  227. `rtpProxyPort` int(11) NOT NULL,
  228. `rtspPort` int(11) NOT NULL,
  229. `rtspSSLPort` int(11) NOT NULL,
  230. `autoConfig` int(11) NOT NULL,
  231. `secret` varchar(50) NOT NULL,
  232. `streamNoneReaderDelayMS` int(11) NOT NULL,
  233. `rtpEnable` int(11) NOT NULL,
  234. `rtpPortRange` varchar(50) NOT NULL,
  235. `sendRtpPortRange` varchar(50) NOT NULL,
  236. `recordAssistPort` int(11) NOT NULL,
  237. `defaultServer` int(11) NOT NULL,
  238. `createTime` varchar(50) NOT NULL,
  239. `updateTime` varchar(50) NOT NULL,
  240. `hookAliveInterval` int(11) NOT NULL,
  241. PRIMARY KEY (`id`),
  242. UNIQUE KEY `media_server_i` (`ip`,`httpPort`)
  243. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  244. /*!40101 SET character_set_client = @saved_cs_client */;
  245. --
  246. -- Dumping data for table `media_server`
  247. --
  248. LOCK TABLES `media_server` WRITE;
  249. /*!40000 ALTER TABLE `media_server` DISABLE KEYS */;
  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(11) NOT NULL AUTO_INCREMENT,
  260. `enable` int(11) 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(11) 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(11) DEFAULT NULL,
  277. `rtcp` int(11) DEFAULT NULL,
  278. `status` bit(1) DEFAULT NULL,
  279. `shareAllLiveStream` int(11) DEFAULT NULL,
  280. PRIMARY KEY (`id`,`serverGBId`)
  281. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  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. /*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;
  289. UNLOCK TABLES;
  290. --
  291. -- Table structure for table `platform_catalog`
  292. --
  293. DROP TABLE IF EXISTS `platform_catalog`;
  294. /*!40101 SET @saved_cs_client = @@character_set_client */;
  295. /*!50503 SET character_set_client = utf8mb4 */;
  296. CREATE TABLE `platform_catalog` (
  297. `id` varchar(50) NOT NULL,
  298. `platformId` varchar(50) NOT NULL,
  299. `name` varchar(255) NOT NULL,
  300. `parentId` varchar(50) DEFAULT NULL,
  301. PRIMARY KEY (`id`)
  302. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  303. /*!40101 SET character_set_client = @saved_cs_client */;
  304. --
  305. -- Dumping data for table `platform_catalog`
  306. --
  307. LOCK TABLES `platform_catalog` WRITE;
  308. /*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;
  309. /*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;
  310. UNLOCK TABLES;
  311. --
  312. -- Table structure for table `platform_gb_channel`
  313. --
  314. DROP TABLE IF EXISTS `platform_gb_channel`;
  315. /*!40101 SET @saved_cs_client = @@character_set_client */;
  316. /*!50503 SET character_set_client = utf8mb4 */;
  317. CREATE TABLE `platform_gb_channel` (
  318. `channelId` varchar(50) NOT NULL,
  319. `deviceId` varchar(50) NOT NULL,
  320. `platformId` varchar(50) NOT NULL,
  321. `deviceAndChannelId` varchar(50) NOT NULL,
  322. `catalogId` varchar(50) NOT NULL,
  323. PRIMARY KEY (`deviceAndChannelId`,`platformId`)
  324. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  325. /*!40101 SET character_set_client = @saved_cs_client */;
  326. --
  327. -- Dumping data for table `platform_gb_channel`
  328. --
  329. LOCK TABLES `platform_gb_channel` WRITE;
  330. /*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;
  331. /*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;
  332. UNLOCK TABLES;
  333. --
  334. -- Table structure for table `platform_gb_stream`
  335. --
  336. DROP TABLE IF EXISTS `platform_gb_stream`;
  337. /*!40101 SET @saved_cs_client = @@character_set_client */;
  338. /*!50503 SET character_set_client = utf8mb4 */;
  339. CREATE TABLE `platform_gb_stream` (
  340. `platformId` varchar(50) NOT NULL,
  341. `app` varchar(255) NOT NULL,
  342. `stream` varchar(255) NOT NULL,
  343. `catalogId` varchar(50) NOT NULL,
  344. PRIMARY KEY (`platformId`,`app`,`stream`)
  345. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  346. /*!40101 SET character_set_client = @saved_cs_client */;
  347. --
  348. -- Dumping data for table `platform_gb_stream`
  349. --
  350. LOCK TABLES `platform_gb_stream` WRITE;
  351. /*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;
  352. /*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;
  353. UNLOCK TABLES;
  354. --
  355. -- Table structure for table `user_role`
  356. --
  357. DROP TABLE IF EXISTS `user_role`;
  358. /*!40101 SET @saved_cs_client = @@character_set_client */;
  359. /*!50503 SET character_set_client = utf8mb4 */;
  360. CREATE TABLE `user_role` (
  361. `id` int(11) NOT NULL AUTO_INCREMENT,
  362. `name` varchar(50) NOT NULL,
  363. `authority` varchar(50) NOT NULL,
  364. `createTime` varchar(50) NOT NULL,
  365. `updateTime` varchar(50) NOT NULL,
  366. PRIMARY KEY (`id`)
  367. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  368. /*!40101 SET character_set_client = @saved_cs_client */;
  369. --
  370. -- Dumping data for table `user_role`
  371. --
  372. LOCK TABLES `user_role` WRITE;
  373. /*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
  374. INSERT INTO `user_role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
  375. /*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
  376. UNLOCK TABLES;
  377. --
  378. -- Table structure for table `stream_proxy`
  379. --
  380. DROP TABLE IF EXISTS `stream_proxy`;
  381. /*!40101 SET @saved_cs_client = @@character_set_client */;
  382. /*!50503 SET character_set_client = utf8mb4 */;
  383. CREATE TABLE `stream_proxy` (
  384. `type` varchar(50) NOT NULL,
  385. `app` varchar(255) NOT NULL,
  386. `stream` varchar(255) NOT NULL,
  387. `url` varchar(255) DEFAULT NULL,
  388. `src_url` varchar(255) DEFAULT NULL,
  389. `dst_url` varchar(255) DEFAULT NULL,
  390. `timeout_ms` int(11) DEFAULT NULL,
  391. `ffmpeg_cmd_key` varchar(255) DEFAULT NULL,
  392. `rtp_type` varchar(50) DEFAULT NULL,
  393. `mediaServerId` varchar(50) DEFAULT NULL,
  394. `enable_hls` bit(1) DEFAULT NULL,
  395. `enable_mp4` bit(1) DEFAULT NULL,
  396. `enable` bit(1) NOT NULL,
  397. `status` bit(1) NOT NULL,
  398. `enable_remove_none_reader` bit(1) NOT NULL,
  399. `createTime` varchar(50) NOT NULL,
  400. PRIMARY KEY (`app`,`stream`)
  401. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  402. /*!40101 SET character_set_client = @saved_cs_client */;
  403. --
  404. -- Dumping data for table `stream_proxy`
  405. --
  406. LOCK TABLES `stream_proxy` WRITE;
  407. /*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;
  408. /*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;
  409. UNLOCK TABLES;
  410. --
  411. -- Table structure for table `stream_push`
  412. --
  413. DROP TABLE IF EXISTS `stream_push`;
  414. /*!40101 SET @saved_cs_client = @@character_set_client */;
  415. /*!50503 SET character_set_client = utf8mb4 */;
  416. CREATE TABLE `stream_push` (
  417. `app` varchar(255) NOT NULL,
  418. `stream` varchar(255) NOT NULL,
  419. `totalReaderCount` varchar(50) DEFAULT NULL,
  420. `originType` int(11) DEFAULT NULL,
  421. `originTypeStr` varchar(50) DEFAULT NULL,
  422. `createStamp` bigint(20) DEFAULT NULL,
  423. `aliveSecond` int(11) DEFAULT NULL,
  424. `mediaServerId` varchar(50) DEFAULT NULL,
  425. PRIMARY KEY (`app`,`stream`)
  426. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  427. /*!40101 SET character_set_client = @saved_cs_client */;
  428. --
  429. -- Dumping data for table `stream_push`
  430. --
  431. LOCK TABLES `stream_push` WRITE;
  432. /*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;
  433. /*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;
  434. UNLOCK TABLES;
  435. --
  436. -- Table structure for table `user`
  437. --
  438. DROP TABLE IF EXISTS `user`;
  439. /*!40101 SET @saved_cs_client = @@character_set_client */;
  440. /*!50503 SET character_set_client = utf8mb4 */;
  441. CREATE TABLE `user` (
  442. `id` int(11) NOT NULL AUTO_INCREMENT,
  443. `username` varchar(255) NOT NULL,
  444. `password` varchar(255) NOT NULL,
  445. `roleId` int(11) NOT NULL,
  446. `createTime` varchar(50) NOT NULL,
  447. `updateTime` varchar(50) NOT NULL,
  448. PRIMARY KEY (`id`),
  449. UNIQUE KEY `user_username_uindex` (`username`)
  450. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  451. /*!40101 SET character_set_client = @saved_cs_client */;
  452. --
  453. -- Dumping data for table `user`
  454. --
  455. LOCK TABLES `user` WRITE;
  456. /*!40000 ALTER TABLE `user` DISABLE KEYS */;
  457. INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57');
  458. /*!40000 ALTER TABLE `user` ENABLE KEYS */;
  459. UNLOCK TABLES;
  460. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  461. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  462. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  463. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  464. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  465. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  466. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  467. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  468. -- Dump completed on 2022-01-25 15:36:42