mysql.sql 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530
  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. `endTime` varchar(50) DEFAULT NULL,
  100. `secrecy` varchar(50) DEFAULT NULL,
  101. `ipAddress` varchar(50) DEFAULT NULL,
  102. `port` int(11) DEFAULT NULL,
  103. `password` varchar(255) DEFAULT NULL,
  104. `PTZType` int(11) DEFAULT NULL,
  105. `status` int(11) DEFAULT NULL,
  106. `longitude` double DEFAULT NULL,
  107. `latitude` double DEFAULT NULL,
  108. `streamId` varchar(50) DEFAULT NULL,
  109. `deviceId` varchar(50) NOT NULL,
  110. `parental` varchar(50) DEFAULT NULL,
  111. `hasAudio` bit(1) DEFAULT NULL,
  112. `createTime` varchar(50) NOT NULL,
  113. `updateTime` varchar(50) NOT NULL,
  114. PRIMARY KEY (`channelId`,`deviceId`)
  115. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  116. /*!40101 SET character_set_client = @saved_cs_client */;
  117. --
  118. -- Dumping data for table `device_channel`
  119. --
  120. LOCK TABLES `device_channel` WRITE;
  121. /*!40000 ALTER TABLE `device_channel` DISABLE KEYS */;
  122. /*!40000 ALTER TABLE `device_channel` ENABLE KEYS */;
  123. UNLOCK TABLES;
  124. --
  125. -- Table structure for table `device_mobile_position`
  126. --
  127. DROP TABLE IF EXISTS `device_mobile_position`;
  128. /*!40101 SET @saved_cs_client = @@character_set_client */;
  129. /*!50503 SET character_set_client = utf8mb4 */;
  130. CREATE TABLE `device_mobile_position` (
  131. `deviceId` varchar(50) NOT NULL,
  132. `channelId` varchar(50) NOT NULL,
  133. `deviceName` varchar(255) DEFAULT NULL,
  134. `time` varchar(50) NOT NULL,
  135. `longitude` double NOT NULL,
  136. `latitude` double NOT NULL,
  137. `altitude` double DEFAULT NULL,
  138. `speed` double DEFAULT NULL,
  139. `direction` double DEFAULT NULL,
  140. `reportSource` varchar(50) DEFAULT NULL,
  141. `geodeticSystem` varchar(50) DEFAULT NULL,
  142. `cnLng` varchar(50) DEFAULT NULL,
  143. `cnLat` varchar(50) DEFAULT NULL,
  144. PRIMARY KEY (`deviceId`,`time`)
  145. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  146. /*!40101 SET character_set_client = @saved_cs_client */;
  147. --
  148. -- Dumping data for table `device_mobile_position`
  149. --
  150. LOCK TABLES `device_mobile_position` WRITE;
  151. /*!40000 ALTER TABLE `device_mobile_position` DISABLE KEYS */;
  152. /*!40000 ALTER TABLE `device_mobile_position` ENABLE KEYS */;
  153. UNLOCK TABLES;
  154. --
  155. -- Table structure for table `gb_stream`
  156. --
  157. DROP TABLE IF EXISTS `gb_stream`;
  158. /*!40101 SET @saved_cs_client = @@character_set_client */;
  159. /*!50503 SET character_set_client = utf8mb4 */;
  160. CREATE TABLE `gb_stream` (
  161. `id` int(11) NOT NULL AUTO_INCREMENT,
  162. `app` varchar(255) NOT NULL,
  163. `stream` varchar(255) NOT NULL,
  164. `gbId` varchar(50) NOT NULL,
  165. `name` varchar(255) DEFAULT NULL,
  166. `longitude` double DEFAULT NULL,
  167. `latitude` double DEFAULT NULL,
  168. `streamType` varchar(50) DEFAULT NULL,
  169. `mediaServerId` varchar(50) DEFAULT NULL,
  170. `status` int(11) DEFAULT NULL,
  171. `createStamp` bigint(20) DEFAULT NULL,
  172. PRIMARY KEY (`id`),
  173. UNIQUE KEY `app` (`app`,`stream`),
  174. UNIQUE KEY `gbId` (`gbId`)
  175. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  176. /*!40101 SET character_set_client = @saved_cs_client */;
  177. --
  178. -- Dumping data for table `gb_stream`
  179. --
  180. LOCK TABLES `gb_stream` WRITE;
  181. /*!40000 ALTER TABLE `gb_stream` DISABLE KEYS */;
  182. /*!40000 ALTER TABLE `gb_stream` ENABLE KEYS */;
  183. UNLOCK TABLES;
  184. --
  185. -- Table structure for table `log`
  186. --
  187. DROP TABLE IF EXISTS `log`;
  188. /*!40101 SET @saved_cs_client = @@character_set_client */;
  189. /*!50503 SET character_set_client = utf8mb4 */;
  190. CREATE TABLE `log` (
  191. `id` int(11) NOT NULL AUTO_INCREMENT,
  192. `name` varchar(50) NOT NULL,
  193. `type` varchar(50) NOT NULL,
  194. `uri` varchar(200) NOT NULL,
  195. `address` varchar(50) NOT NULL,
  196. `result` varchar(50) NOT NULL,
  197. `timing` bigint(20) NOT NULL,
  198. `username` varchar(50) NOT NULL,
  199. `createTime` varchar(50) NOT NULL,
  200. PRIMARY KEY (`id`)
  201. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  202. /*!40101 SET character_set_client = @saved_cs_client */;
  203. --
  204. -- Dumping data for table `log`
  205. --
  206. LOCK TABLES `log` WRITE;
  207. /*!40000 ALTER TABLE `log` DISABLE KEYS */;
  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(11) NOT NULL,
  223. `httpSSlPort` int(11) NOT NULL,
  224. `rtmpPort` int(11) NOT NULL,
  225. `rtmpSSlPort` int(11) NOT NULL,
  226. `rtpProxyPort` int(11) NOT NULL,
  227. `rtspPort` int(11) NOT NULL,
  228. `rtspSSLPort` int(11) NOT NULL,
  229. `autoConfig` int(11) NOT NULL,
  230. `secret` varchar(50) NOT NULL,
  231. `streamNoneReaderDelayMS` int(11) NOT NULL,
  232. `rtpEnable` int(11) NOT NULL,
  233. `rtpPortRange` varchar(50) NOT NULL,
  234. `sendRtpPortRange` varchar(50) NOT NULL,
  235. `recordAssistPort` int(11) NOT NULL,
  236. `defaultServer` int(11) NOT NULL,
  237. `createTime` varchar(50) NOT NULL,
  238. `updateTime` varchar(50) NOT NULL,
  239. `hookAliveInterval` int(11) NOT NULL,
  240. PRIMARY KEY (`id`),
  241. UNIQUE KEY `media_server_i` (`ip`,`httpPort`)
  242. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  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. /*!40000 ALTER TABLE `media_server` ENABLE KEYS */;
  250. UNLOCK TABLES;
  251. --
  252. -- Table structure for table `parent_platform`
  253. --
  254. DROP TABLE IF EXISTS `parent_platform`;
  255. /*!40101 SET @saved_cs_client = @@character_set_client */;
  256. /*!50503 SET character_set_client = utf8mb4 */;
  257. CREATE TABLE `parent_platform` (
  258. `id` int(11) NOT NULL AUTO_INCREMENT,
  259. `enable` int(11) DEFAULT NULL,
  260. `name` varchar(255) DEFAULT NULL,
  261. `serverGBId` varchar(50) NOT NULL,
  262. `serverGBDomain` varchar(50) DEFAULT NULL,
  263. `serverIP` varchar(50) DEFAULT NULL,
  264. `serverPort` int(11) DEFAULT NULL,
  265. `deviceGBId` varchar(50) NOT NULL,
  266. `deviceIp` varchar(50) DEFAULT NULL,
  267. `devicePort` varchar(50) DEFAULT NULL,
  268. `username` varchar(255) DEFAULT NULL,
  269. `password` varchar(50) DEFAULT NULL,
  270. `expires` varchar(50) DEFAULT NULL,
  271. `keepTimeout` varchar(50) DEFAULT NULL,
  272. `transport` varchar(50) DEFAULT NULL,
  273. `characterSet` varchar(50) DEFAULT NULL,
  274. `catalogId` varchar(50) NOT NULL,
  275. `ptz` int(11) DEFAULT NULL,
  276. `rtcp` int(11) DEFAULT NULL,
  277. `status` bit(1) DEFAULT NULL,
  278. `shareAllLiveStream` int(11) DEFAULT NULL,
  279. PRIMARY KEY (`id`,`serverGBId`)
  280. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  281. /*!40101 SET character_set_client = @saved_cs_client */;
  282. --
  283. -- Dumping data for table `parent_platform`
  284. --
  285. LOCK TABLES `parent_platform` WRITE;
  286. /*!40000 ALTER TABLE `parent_platform` DISABLE KEYS */;
  287. /*!40000 ALTER TABLE `parent_platform` ENABLE KEYS */;
  288. UNLOCK TABLES;
  289. --
  290. -- Table structure for table `platform_catalog`
  291. --
  292. DROP TABLE IF EXISTS `platform_catalog`;
  293. /*!40101 SET @saved_cs_client = @@character_set_client */;
  294. /*!50503 SET character_set_client = utf8mb4 */;
  295. CREATE TABLE `platform_catalog` (
  296. `id` varchar(50) NOT NULL,
  297. `platformId` varchar(50) NOT NULL,
  298. `name` varchar(255) NOT NULL,
  299. `parentId` varchar(50) DEFAULT NULL,
  300. PRIMARY KEY (`id`)
  301. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  302. /*!40101 SET character_set_client = @saved_cs_client */;
  303. --
  304. -- Dumping data for table `platform_catalog`
  305. --
  306. LOCK TABLES `platform_catalog` WRITE;
  307. /*!40000 ALTER TABLE `platform_catalog` DISABLE KEYS */;
  308. /*!40000 ALTER TABLE `platform_catalog` ENABLE KEYS */;
  309. UNLOCK TABLES;
  310. --
  311. -- Table structure for table `platform_gb_channel`
  312. --
  313. DROP TABLE IF EXISTS `platform_gb_channel`;
  314. /*!40101 SET @saved_cs_client = @@character_set_client */;
  315. /*!50503 SET character_set_client = utf8mb4 */;
  316. CREATE TABLE `platform_gb_channel` (
  317. `channelId` varchar(50) NOT NULL,
  318. `deviceId` varchar(50) NOT NULL,
  319. `platformId` varchar(50) NOT NULL,
  320. `deviceAndChannelId` varchar(50) NOT NULL,
  321. `catalogId` varchar(50) NOT NULL,
  322. PRIMARY KEY (`deviceAndChannelId`,`platformId`)
  323. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  324. /*!40101 SET character_set_client = @saved_cs_client */;
  325. --
  326. -- Dumping data for table `platform_gb_channel`
  327. --
  328. LOCK TABLES `platform_gb_channel` WRITE;
  329. /*!40000 ALTER TABLE `platform_gb_channel` DISABLE KEYS */;
  330. /*!40000 ALTER TABLE `platform_gb_channel` ENABLE KEYS */;
  331. UNLOCK TABLES;
  332. --
  333. -- Table structure for table `platform_gb_stream`
  334. --
  335. DROP TABLE IF EXISTS `platform_gb_stream`;
  336. /*!40101 SET @saved_cs_client = @@character_set_client */;
  337. /*!50503 SET character_set_client = utf8mb4 */;
  338. CREATE TABLE `platform_gb_stream` (
  339. `platformId` varchar(50) NOT NULL,
  340. `app` varchar(255) NOT NULL,
  341. `stream` varchar(255) NOT NULL,
  342. `catalogId` varchar(50) NOT NULL,
  343. PRIMARY KEY (`platformId`,`app`,`stream`)
  344. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  345. /*!40101 SET character_set_client = @saved_cs_client */;
  346. --
  347. -- Dumping data for table `platform_gb_stream`
  348. --
  349. LOCK TABLES `platform_gb_stream` WRITE;
  350. /*!40000 ALTER TABLE `platform_gb_stream` DISABLE KEYS */;
  351. /*!40000 ALTER TABLE `platform_gb_stream` ENABLE KEYS */;
  352. UNLOCK TABLES;
  353. --
  354. -- Table structure for table `user_role`
  355. --
  356. DROP TABLE IF EXISTS `user_role`;
  357. /*!40101 SET @saved_cs_client = @@character_set_client */;
  358. /*!50503 SET character_set_client = utf8mb4 */;
  359. CREATE TABLE `user_role` (
  360. `id` int(11) NOT NULL AUTO_INCREMENT,
  361. `name` varchar(50) NOT NULL,
  362. `authority` varchar(50) NOT NULL,
  363. `createTime` varchar(50) NOT NULL,
  364. `updateTime` varchar(50) NOT NULL,
  365. PRIMARY KEY (`id`)
  366. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  367. /*!40101 SET character_set_client = @saved_cs_client */;
  368. --
  369. -- Dumping data for table `user_role`
  370. --
  371. LOCK TABLES `user_role` WRITE;
  372. /*!40000 ALTER TABLE `user_role` DISABLE KEYS */;
  373. INSERT INTO `user_role` VALUES (1,'admin','0','2021-04-13 14:14:57','2021-04-13 14:14:57');
  374. /*!40000 ALTER TABLE `user_role` ENABLE KEYS */;
  375. UNLOCK TABLES;
  376. --
  377. -- Table structure for table `stream_proxy`
  378. --
  379. DROP TABLE IF EXISTS `stream_proxy`;
  380. /*!40101 SET @saved_cs_client = @@character_set_client */;
  381. /*!50503 SET character_set_client = utf8mb4 */;
  382. CREATE TABLE `stream_proxy` (
  383. `type` varchar(50) NOT NULL,
  384. `app` varchar(255) NOT NULL,
  385. `stream` varchar(255) NOT NULL,
  386. `url` varchar(255) DEFAULT NULL,
  387. `src_url` varchar(255) DEFAULT NULL,
  388. `dst_url` varchar(255) DEFAULT NULL,
  389. `timeout_ms` int(11) DEFAULT NULL,
  390. `ffmpeg_cmd_key` varchar(255) DEFAULT NULL,
  391. `rtp_type` varchar(50) DEFAULT NULL,
  392. `mediaServerId` varchar(50) DEFAULT NULL,
  393. `enable_hls` bit(1) DEFAULT NULL,
  394. `enable_mp4` bit(1) DEFAULT NULL,
  395. `enable` bit(1) NOT NULL,
  396. `status` bit(1) NOT NULL,
  397. `enable_remove_none_reader` bit(1) NOT NULL,
  398. `createTime` varchar(50) NOT NULL,
  399. PRIMARY KEY (`app`,`stream`)
  400. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  401. /*!40101 SET character_set_client = @saved_cs_client */;
  402. --
  403. -- Dumping data for table `stream_proxy`
  404. --
  405. LOCK TABLES `stream_proxy` WRITE;
  406. /*!40000 ALTER TABLE `stream_proxy` DISABLE KEYS */;
  407. /*!40000 ALTER TABLE `stream_proxy` ENABLE KEYS */;
  408. UNLOCK TABLES;
  409. --
  410. -- Table structure for table `stream_push`
  411. --
  412. DROP TABLE IF EXISTS `stream_push`;
  413. /*!40101 SET @saved_cs_client = @@character_set_client */;
  414. /*!50503 SET character_set_client = utf8mb4 */;
  415. CREATE TABLE `stream_push` (
  416. `app` varchar(255) NOT NULL,
  417. `stream` varchar(255) NOT NULL,
  418. `totalReaderCount` varchar(50) DEFAULT NULL,
  419. `originType` int(11) DEFAULT NULL,
  420. `originTypeStr` varchar(50) DEFAULT NULL,
  421. `createStamp` bigint(20) DEFAULT NULL,
  422. `aliveSecond` int(11) DEFAULT NULL,
  423. `mediaServerId` varchar(50) DEFAULT NULL,
  424. PRIMARY KEY (`app`,`stream`)
  425. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  426. /*!40101 SET character_set_client = @saved_cs_client */;
  427. --
  428. -- Dumping data for table `stream_push`
  429. --
  430. LOCK TABLES `stream_push` WRITE;
  431. /*!40000 ALTER TABLE `stream_push` DISABLE KEYS */;
  432. /*!40000 ALTER TABLE `stream_push` ENABLE KEYS */;
  433. UNLOCK TABLES;
  434. --
  435. -- Table structure for table `user`
  436. --
  437. DROP TABLE IF EXISTS `user`;
  438. /*!40101 SET @saved_cs_client = @@character_set_client */;
  439. /*!50503 SET character_set_client = utf8mb4 */;
  440. CREATE TABLE `user` (
  441. `id` int(11) NOT NULL AUTO_INCREMENT,
  442. `username` varchar(255) NOT NULL,
  443. `password` varchar(255) NOT NULL,
  444. `roleId` int(11) NOT NULL,
  445. `createTime` varchar(50) NOT NULL,
  446. `updateTime` varchar(50) NOT NULL,
  447. PRIMARY KEY (`id`),
  448. UNIQUE KEY `user_username_uindex` (`username`)
  449. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
  450. /*!40101 SET character_set_client = @saved_cs_client */;
  451. --
  452. -- Dumping data for table `user`
  453. --
  454. LOCK TABLES `user` WRITE;
  455. /*!40000 ALTER TABLE `user` DISABLE KEYS */;
  456. INSERT INTO `user` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',1,'2021-04-13 14:14:57','2021-04-13 14:14:57');
  457. /*!40000 ALTER TABLE `user` ENABLE KEYS */;
  458. UNLOCK TABLES;
  459. /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
  460. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  461. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
  462. /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
  463. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  464. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  465. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
  466. /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
  467. -- Dump completed on 2022-01-25 15:36:42