-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhot_update.sql
71 lines (60 loc) · 1.98 KB
/
hot_update.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
Navicat Premium Data Transfer
Source Server : hot-update
Source Server Type : MySQL
Source Server Version : 80036 (8.0.36)
Source Host : rm-bp1t9x38ky10004pm6o.rwlb.rds.aliyuncs.com:3306
Source Schema : hot_update
Target Server Type : MySQL
Target Server Version : 80036 (8.0.36)
File Encoding : 65001
Date: 15/12/2024 05:31:59
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for public_key
-- ----------------------------
DROP TABLE IF EXISTS `public_key`;
CREATE TABLE `public_key` (
`key` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
PRIMARY KEY (`username`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb3;
-- ----------------------------
-- Records of public_key
-- ----------------------------
BEGIN;
INSERT INTO `public_key` (`key`, `username`) VALUES ('hashkey', 'IOLOII');
COMMIT;
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`username` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
`password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
PRIMARY KEY (`username`) USING BTREE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of users
-- ----------------------------
BEGIN;
COMMIT;
-- ----------------------------
-- Table structure for version
-- ----------------------------
DROP TABLE IF EXISTS `version`;
CREATE TABLE `version` (
`appname` varchar(255) NOT NULL,
`version` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
PRIMARY KEY (`appname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of version
-- ----------------------------
BEGIN;
INSERT INTO `version` (`appname`, `version`, `username`) VALUES ('demo', '1.0.2', 'IOLOII');
COMMIT;
SET FOREIGN_KEY_CHECKS = 1;