You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
68 lines
2.2 KiB
68 lines
2.2 KiB
6 months ago
|
/*
|
||
|
Navicat Premium Data Transfer
|
||
|
|
||
|
Source Server : stu
|
||
|
Source Server Type : MySQL
|
||
|
Source Server Version : 80032
|
||
|
Source Host : localhost:3306
|
||
|
Source Schema : trial
|
||
|
|
||
|
Target Server Type : MySQL
|
||
|
Target Server Version : 80032
|
||
|
File Encoding : 65001
|
||
|
|
||
|
Date: 12/06/2024 18:04:37
|
||
|
*/
|
||
|
|
||
|
SET NAMES utf8mb4;
|
||
|
SET FOREIGN_KEY_CHECKS = 0;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for collections
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `collections`;
|
||
|
CREATE TABLE `collections` (
|
||
|
`user_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`essay_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
PRIMARY KEY (`user_id`, `essay_id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of collections
|
||
|
-- ----------------------------
|
||
|
INSERT INTO `collections` VALUES ('123', '652e1987000000001a01728c');
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for manage
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `manage`;
|
||
|
CREATE TABLE `manage` (
|
||
|
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`psw` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of manage
|
||
|
-- ----------------------------
|
||
|
INSERT INTO `manage` VALUES ('admin', '10086');
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Table structure for user
|
||
|
-- ----------------------------
|
||
|
DROP TABLE IF EXISTS `user`;
|
||
|
CREATE TABLE `user` (
|
||
|
`id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
`psw` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL,
|
||
|
PRIMARY KEY (`id`) USING BTREE
|
||
|
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;
|
||
|
|
||
|
-- ----------------------------
|
||
|
-- Records of user
|
||
|
-- ----------------------------
|
||
|
INSERT INTO `user` VALUES ('123', '123');
|
||
|
INSERT INTO `user` VALUES ('root', 'root');
|
||
|
INSERT INTO `user` VALUES ('test', '666');
|
||
|
|
||
|
SET FOREIGN_KEY_CHECKS = 1;
|