-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathface_warehouse.sql
71 lines (59 loc) · 2.64 KB
/
face_warehouse.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 : localhost_3306
Source Server Type : MySQL
Source Server Version : 80022
Source Host : localhost:3306
Source Schema : face_warehouse
Target Server Type : MySQL
Target Server Version : 80022
File Encoding : 65001
Date: 01/07/2021 10:33:39
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for config
-- ----------------------------
DROP TABLE IF EXISTS `config`;
CREATE TABLE `config` (
`config_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`config_value` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`config_team` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of config
-- ----------------------------
INSERT INTO `config` VALUES ('endpoint', 'oss-cn-beijing.aliyuncs.com', 'oss');
INSERT INTO `config` VALUES ('accessKeyId', '请前往阿里云对象存储获取', 'oss');
INSERT INTO `config` VALUES ('accessKeySecret', '请前往阿里云对象存储获取', 'oss');
INSERT INTO `config` VALUES ('bucket', '请前往阿里云对象存储获取', 'oss');
-- ----------------------------
-- Table structure for user_info
-- ----------------------------
DROP TABLE IF EXISTS `user_info`;
CREATE TABLE `user_info` (
`user_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
`user_sex` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`user_flag` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
PRIMARY KEY (`user_name`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user_info
-- ----------------------------
-- ----------------------------
-- Table structure for warehouse_admin
-- ----------------------------
DROP TABLE IF EXISTS `warehouse_admin`;
CREATE TABLE `warehouse_admin` (
`admin_id` int NOT NULL,
`admin_password` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL,
`admin_createtime` datetime(6) NULL DEFAULT NULL,
`admin_role` int NULL DEFAULT 1,
PRIMARY KEY (`admin_id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of warehouse_admin
-- ----------------------------
INSERT INTO `warehouse_admin` VALUES (201600001, '123456', '2021-06-16 18:49:48.000000', 1);
SET FOREIGN_KEY_CHECKS = 1;