数据库备份
MariaDB升级
This commit is contained in:
parent
48c239f859
commit
34f7afb474
@ -11,7 +11,7 @@
|
||||
Target Server Version : 110202 (11.2.2-MariaDB)
|
||||
File Encoding : 65001
|
||||
|
||||
Date: 23/02/2024 14:51:33
|
||||
Date: 28/02/2024 12:17:01
|
||||
*/
|
||||
|
||||
SET NAMES utf8mb4;
|
||||
@ -30,7 +30,13 @@ CREATE TABLE `collection_tasks` (
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `user_id`(`user_id`) USING BTREE,
|
||||
CONSTRAINT `collection_tasks_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `user` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of collection_tasks
|
||||
-- ----------------------------
|
||||
INSERT INTO `collection_tasks` VALUES (1, 1, 'PsQREdit 2.4.3.exe123123', '2024-02-23 14:24:22', '2333333');
|
||||
INSERT INTO `collection_tasks` VALUES (2, 2, 'PsQREdit 2.4.3.exe123123', '2024-02-23 14:34:10', '666');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for collection_uploaded
|
||||
@ -45,7 +51,14 @@ CREATE TABLE `collection_uploaded` (
|
||||
PRIMARY KEY (`id`) USING BTREE,
|
||||
INDEX `task_id`(`task_id`) USING BTREE,
|
||||
CONSTRAINT `collection_uploaded_ibfk_1` FOREIGN KEY (`task_id`) REFERENCES `collection_tasks` (`id`) ON DELETE CASCADE ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of collection_uploaded
|
||||
-- ----------------------------
|
||||
INSERT INTO `collection_uploaded` VALUES (1, 1, '127.0.0.1', '2024-02-23 14:25:54', '66666');
|
||||
INSERT INTO `collection_uploaded` VALUES (2, 2, '192.168.1.20', '2024-02-23 14:34:30', '11111');
|
||||
INSERT INTO `collection_uploaded` VALUES (4, 1, '::1', '2024-02-26 11:30:27', '06ab4a01-3c8e-4b3b-a25f-8e00c78fed8c');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for country
|
||||
@ -58,6 +71,20 @@ CREATE TABLE `country` (
|
||||
PRIMARY KEY (`code`) USING BTREE
|
||||
) ENGINE = InnoDB CHARACTER SET = utf8mb3 COLLATE = utf8mb3_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of country
|
||||
-- ----------------------------
|
||||
INSERT INTO `country` VALUES ('AU', 'Australia', 24016400);
|
||||
INSERT INTO `country` VALUES ('BR', 'Brazil', 205722000);
|
||||
INSERT INTO `country` VALUES ('CA', 'Canada', 35985751);
|
||||
INSERT INTO `country` VALUES ('CN', 'China', 1375210000);
|
||||
INSERT INTO `country` VALUES ('DE', 'Germany', 81459000);
|
||||
INSERT INTO `country` VALUES ('FR', 'France', 64513242);
|
||||
INSERT INTO `country` VALUES ('GB', 'United Kingdom', 65097000);
|
||||
INSERT INTO `country` VALUES ('IN', 'India', 1285400000);
|
||||
INSERT INTO `country` VALUES ('RU', 'Russia', 146519759);
|
||||
INSERT INTO `country` VALUES ('US', 'United States', 322976000);
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for share
|
||||
-- ----------------------------
|
||||
@ -73,6 +100,15 @@ CREATE TABLE `share` (
|
||||
CONSTRAINT `share_ibfk_1` FOREIGN KEY (`sharer_id`) REFERENCES `user` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of share
|
||||
-- ----------------------------
|
||||
INSERT INTO `share` VALUES (2, 2, 'WePE_32_V2.3.iso', '6666', '2024-02-16 14:48:07');
|
||||
INSERT INTO `share` VALUES (3, 1, 'WePE_32_V2.3.iso', '0000', '2024-02-16 15:11:35');
|
||||
INSERT INTO `share` VALUES (4, 1, 'WePE_32_V2.3_副本.iso', 'c7hg', '2024-02-17 15:35:32');
|
||||
INSERT INTO `share` VALUES (5, 1, 'PsQREdit 2.4.3.exe123123/PsQREdit 2.4.3.7z', 'wcvy', '2024-02-17 15:37:03');
|
||||
INSERT INTO `share` VALUES (6, 1, 'test', '6666', '2024-02-17 15:45:44');
|
||||
|
||||
-- ----------------------------
|
||||
-- Table structure for user
|
||||
-- ----------------------------
|
||||
@ -87,4 +123,10 @@ CREATE TABLE `user` (
|
||||
PRIMARY KEY (`id`) USING BTREE
|
||||
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
|
||||
|
||||
-- ----------------------------
|
||||
-- Records of user
|
||||
-- ----------------------------
|
||||
INSERT INTO `user` VALUES (1, 'chenx221', '$2y$13$2d6BZn/3g0mC0HsLj0hTXuLKZjq/t2EcV6nR9H8SO6UXvFWQxu0OC', 'CxQfOU9W6Vwijbv-a4fcukFihFuoIPR3', 'chenx221@yandex.com', 1);
|
||||
INSERT INTO `user` VALUES (2, 'chenx2210', '$2y$13$Y3IZtFPU7vfAKlkeaQzTI.6lSfo/F/qmv2VFybG7wmh5yX49uc29m', '4en_00n5mhDST7AJdyk_CCfdoQcG5IS9', 'chenx2210@outlook.com', 1);
|
||||
|
||||
SET FOREIGN_KEY_CHECKS = 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user