/*
 Navicat Premium Data Transfer

 Source Server         : MySQL
 Source Server Type    : MySQL
 Source Server Version : 80031 (8.0.31)
 Source Host           : localhost:3306
 Source Schema         : hellogithub

 Target Server Type    : MySQL
 Target Server Version : 80031 (8.0.31)
 File Encoding         : 65001

 Date: 09/07/2023 18:44:52
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for admin
-- ----------------------------
DROP TABLE IF EXISTS `admin`;
CREATE TABLE `admin`  (
  `adminId` int NOT NULL AUTO_INCREMENT COMMENT '管理员ID',
  `adminName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管理员名',
  `adminPassword` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '管理员密码',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效(0/1)',
  `loginTime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '登录时间',
  PRIMARY KEY (`adminId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '管理员表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of admin
-- ----------------------------
INSERT INTO `admin` VALUES (1, 'admin', 'admin', 1, '2023-07-09 17:09:16');

-- ----------------------------
-- Table structure for article
-- ----------------------------
DROP TABLE IF EXISTS `article`;
CREATE TABLE `article`  (
  `articleId` int NOT NULL AUTO_INCREMENT COMMENT '文章ID',
  `userId` int NULL DEFAULT NULL COMMENT '用户ID',
  `articleContent` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '文章内容',
  `publishTime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '发布时间',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效',
  `readCount` int NULL DEFAULT NULL COMMENT '阅读次数',
  `articleTitle` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文章标题',
  `articleIco` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '文章缩略图',
  PRIMARY KEY (`articleId`) USING BTREE,
  INDEX `userId_article`(`userId` ASC) USING BTREE,
  CONSTRAINT `userId_article` FOREIGN KEY (`userId`) REFERENCES `user` (`userId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 30 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '文章表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of article
-- ----------------------------
INSERT INTO `article` VALUES (1, 1, '<h1>随便写随便写随便写</h1>', '2023-7-4', 1, 63, 'Git 的奇技淫巧🙈', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png');
INSERT INTO `article` VALUES (2, 2, 'Git 是一个分布式版本管理工具，版本管理工具就是大家在写东西的时候都用过 回撤这个功能，但是回撤只能回撤几步，假如想要找回我三天之前的修改，光用回撤是找不回来的。而版本管理工具能记录每次的修改，只要提交到版本仓库，就可以找到之前任何时刻的状态（文本状态）。\r\n\r\n下面的内容就是列举了常用的 Git 命令和一些小技巧，可以通过页面内查找的方式 Ctrl/Command+f 进行快速查找。\r\n\r\n开卷必读\r\n如果之前未使用过 Git，可以学习 Git 小白教程入门\r\n\r\n一定要先测试命令的效果后，再用于工作环境中，以防造成不能弥补的后果！到时候别拿着砍刀来找我\r\n所有的命令都在 git version 2.7.4 (Apple Git-66) 下测试通过\r\n统一概念：\r\n工作区：改动（增删文件和内容）\r\n暂存区：输入命令：git add 改动的文件名，此次改动就放到了 ‘暂存区’\r\n本地仓库(简称：本地)：输入命令：git commit 此次修改的描述，此次改动就放到了本地仓库，每个 commit，我叫它为一个版本。\r\n远程仓库(简称：远程)：输入命令：git push 远程仓库，此次改动就放到了远程仓库（GitHub 等)\r\ncommit-id：输出命令：git log，最上面那行 commit xxxxxx，后面的字符串就是 commit-id\r\n如果喜欢这个项目，欢迎 Star、提交 Pr、反馈问题😊\r\n下面，就是你在找的 Git 命令速查表。\r\n\r\n展示帮助信息', '2023-7-4', 1, 31, '666666', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg');
INSERT INTO `article` VALUES (3, 1, 'Git 是一个分布式版本管理工具，版本管理工具就是大家在写东西的时候都用过 回撤这个功能，但是回撤只能回撤几步，假如想要找回我三天之前的修改，光用回撤是找不回来的。而版本管理工具能记录每次的修改，只要提交到版本仓库，就可以找到之前任何时刻的状态（文本状态）。\r\n\r\n下面的内容就是列举了常用的 Git 命令和一些小技巧，可以通过页面内查找的方式 Ctrl/Command+f 进行快速查找。\r\n\r\n开卷必读\r\n如果之前未使用过 Git，可以学习 Git 小白教程入门\r\n\r\n一定要先测试命令的效果后，再用于工作环境中，以防造成不能弥补的后果！到时候别拿着砍刀来找我\r\n所有的命令都在 git version 2.7.4 (Apple Git-66) 下测试通过\r\n统一概念：\r\n工作区：改动（增删文件和内容）\r\n暂存区：输入命令：git add 改动的文件名，此次改动就放到了 ‘暂存区’\r\n本地仓库(简称：本地)：输入命令：git commit 此次修改的描述，此次改动就放到了本地仓库，每个 commit，我叫它为一个版本。\r\n远程仓库(简称：远程)：输入命令：git push 远程仓库，此次改动就放到了远程仓库（GitHub 等)\r\ncommit-id：输出命令：git log，最上面那行 commit xxxxxx，后面的字符串就是 commit-id\r\n如果喜欢这个项目，欢迎 Star、提交 Pr、反馈问题😊\r\n下面，就是你在找的 Git 命令速查表。\r\n\r\n展示帮助信息', '2023-7-7', 1, 90, 'Git 的奇技淫巧🙈', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png');
INSERT INTO `article` VALUES (4, 1, 'Git 是一个分布式版本管理工具，版本管理工具就是大家在写东西的时候都用过 回撤这个功能，但是回撤只能回撤几步，假如想要找回我三天之前的修改，光用回撤是找不回来的。而版本管理工具能记录每次的修改，只要提交到版本仓库，就可以找到之前任何时刻的状态（文本状态）。\r\n\r\n下面的内容就是列举了常用的 Git 命令和一些小技巧，可以通过页面内查找的方式 Ctrl/Command+f 进行快速查找。\r\n\r\n开卷必读\r\n如果之前未使用过 Git，可以学习 Git 小白教程入门\r\n\r\n一定要先测试命令的效果后，再用于工作环境中，以防造成不能弥补的后果！到时候别拿着砍刀来找我\r\n所有的命令都在 git version 2.7.4 (Apple Git-66) 下测试通过\r\n统一概念：\r\n工作区：改动（增删文件和内容）\r\n暂存区：输入命令：git add 改动的文件名，此次改动就放到了 ‘暂存区’\r\n本地仓库(简称：本地)：输入命令：git commit 此次修改的描述，此次改动就放到了本地仓库，每个 commit，我叫它为一个版本。\r\n远程仓库(简称：远程)：输入命令：git push 远程仓库，此次改动就放到了远程仓库（GitHub 等)\r\ncommit-id：输出命令：git log，最上面那行 commit xxxxxx，后面的字符串就是 commit-id\r\n如果喜欢这个项目，欢迎 Star、提交 Pr、反馈问题😊\r\n下面，就是你在找的 Git 命令速查表。\r\n\r\n展示帮助信息', '2023-7-4', 1, 2341, '行不行啊，测试', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg');
INSERT INTO `article` VALUES (5, 6, 'Git 是一个分布式版本管理工具，版本管理工具就是大家在写东西的时候都用过 回撤这个功能，但是回撤只能回撤几步，假如想要找回我三天之前的修改，光用回撤是找不回来的。而版本管理工具能记录每次的修改，只要提交到版本仓库，就可以找到之前任何时刻的状态（文本状态）。\r\n\r\n下面的内容就是列举了常用的 Git 命令和一些小技巧，可以通过页面内查找的方式 Ctrl/Command+f 进行快速查找。\r\n\r\n开卷必读\r\n如果之前未使用过 Git，可以学习 Git 小白教程入门\r\n\r\n一定要先测试命令的效果后，再用于工作环境中，以防造成不能弥补的后果！到时候别拿着砍刀来找我\r\n所有的命令都在 git version 2.7.4 (Apple Git-66) 下测试通过\r\n统一概念：\r\n工作区：改动（增删文件和内容）\r\n暂存区：输入命令：git add 改动的文件名，此次改动就放到了 ‘暂存区’\r\n本地仓库(简称：本地)：输入命令：git commit 此次修改的描述，此次改动就放到了本地仓库，每个 commit，我叫它为一个版本。\r\n远程仓库(简称：远程)：输入命令：git push 远程仓库，此次改动就放到了远程仓库（GitHub 等)\r\ncommit-id：输出命令：git log，最上面那行 commit xxxxxx，后面的字符串就是 commit-id\r\n如果喜欢这个项目，欢迎 Star、提交 Pr、反馈问题😊\r\n下面，就是你在找的 Git 命令速查表。\r\n\r\n展示帮助信息', '2023-7-4', 1, 18, 'Git 的奇技淫巧🙈', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png');
INSERT INTO `article` VALUES (6, 5, 'Git 是一个分布式版本管理工具，版本管理工具就是大家在写东西的时候都用过 回撤这个功能，但是回撤只能回撤几步，假如想要找回我三天之前的修改，光用回撤是找不回来的。而版本管理工具能记录每次的修改，只要提交到版本仓库，就可以找到之前任何时刻的状态（文本状态）。\r\n\r\n下面的内容就是列举了常用的 Git 命令和一些小技巧，可以通过页面内查找的方式 Ctrl/Command+f 进行快速查找。\r\n\r\n开卷必读\r\n如果之前未使用过 Git，可以学习 Git 小白教程入门\r\n\r\n一定要先测试命令的效果后，再用于工作环境中，以防造成不能弥补的后果！到时候别拿着砍刀来找我\r\n所有的命令都在 git version 2.7.4 (Apple Git-66) 下测试通过\r\n统一概念：\r\n工作区：改动（增删文件和内容）\r\n暂存区：输入命令：git add 改动的文件名，此次改动就放到了 ‘暂存区’\r\n本地仓库(简称：本地)：输入命令：git commit 此次修改的描述，此次改动就放到了本地仓库，每个 commit，我叫它为一个版本。\r\n远程仓库(简称：远程)：输入命令：git push 远程仓库，此次改动就放到了远程仓库（GitHub 等)\r\ncommit-id：输出命令：git log，最上面那行 commit xxxxxx，后面的字符串就是 commit-id\r\n如果喜欢这个项目，欢迎 Star、提交 Pr、反馈问题😊\r\n下面，就是你在找的 Git 命令速查表。\r\n\r\n展示帮助信息', '2023-7-6', 1, 465, 'Git 的奇技淫巧🙈', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg');
INSERT INTO `article` VALUES (19, 1, '<p><a href=\"https://pic.imgdb.cn/item/640f1b9df144a01007db08a4.jpg\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://pic.imgdb.cn/item/640f1b9df144a01007db08a4.jpg</a></p><pre><code>conn = JdbcUtils.getConnection();\n            conn1 = JdbcUtils.getConnection();\n            preparedStatement = conn.prepareStatement(sql);\n            preparedStatement.setInt(1, id);\n            preparedStatement1 = conn1.prepareStatement(sql1);\n            preparedStatement1.setInt(1, id);</code></pre><blockquote><p><span style=\"color: #4caf50;\">测试文章</span></p></blockquote><hr><p><span style=\"background-color: #ffeb3b;\">都是固定工会打发发的观点和方法啊哈哈的方法的风格啊哈哈动画噶反对法地方和</span></p><ol><li><p>gDG</p></li><li><p>和施工方</p></li></ol><ul><li><p>1111</p></li><li><p>2222</p></li></ul><p></p><table><tbody><tr><th data-colwidth=\"144\"><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></th><th><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></th><th data-colwidth=\"136\"><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></th><th><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></th><th><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></th></tr><tr><td data-colwidth=\"144\"><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></td><td><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></td><td data-colwidth=\"136\"><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></td><td><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></td><td><iframe frameborder=\"0\" allowfullscreen=\"true\"></iframe></td></tr></tbody></table><p>爱德华给</p>', '2023-07-06', 1, 2, '测试文章', 'https://pic.imgdb.cn/item/640f1b9df144a01007db08a4.jpg');
INSERT INTO `article` VALUES (23, 6, '<p><a href=\"https://pic.imgdb.cn/item/646b2803e03e90d874c45f3f.gif\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://pic.imgdb.cn/item/646b2803e03e90d874c45f3f.gif</a></p><p><img src=\"https://pic.imgdb.cn/item/646b2803e03e90d874c45f3f.gif\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"></p><iframe src=\"https://pic.imgdb.cn/item/646b2803e03e90d874c45f3f.gif\" frameborder=\"0\" allowfullscreen=\"true\"></iframe><p></p>', '2023-07-07', 1, 1, '文章功能测试', 'https://pic.imgdb.cn/item/646b2803e03e90d874c45f3f.gif');
INSERT INTO `article` VALUES (24, 6, '<p><img src=\"https://pic.imgdb.cn/item/646b24b0e03e90d874bf7075.png\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"><a href=\"https://pic.imgdb.cn/item/646b24b0e03e90d874bf7075.png\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://pic.imgdb.cn/item/646b24b0e03e90d874bf7075.png</a></p><pre><code>https://pic.imgdb.cn/item/646b24b0e03e90d874bf7075.png</code></pre><p></p>', '2023-07-07', 1, 1, '发布贡献值增加测试', 'https://pic.imgdb.cn/item/646b24b0e03e90d874bf7075.png');
INSERT INTO `article` VALUES (27, 11, '<p><a href=\"https://pic.imgdb.cn/item/6484889d1ddac507cc4fa95f.jpg\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://pic.imgdb.cn/item/6484889d1ddac507cc4fa95f.jpg</a><img src=\"https://pic.imgdb.cn/item/6484889d1ddac507cc4fa95f.jpg\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"></p><blockquote><p>行不行啊</p><pre><code>https://pic.imgdb.cn/item/6484889d1ddac507cc4fa95f.jpg</code></pre></blockquote><h1><strong>测试</strong><u>测试车</u>hi是<span style=\"background-color: #ff9800;\">车hi此时的</span>【<s>0i是德国</s>【iahs【 阿达【uvba【9SUV吧<span style=\"color: #673ab7;\">【90氺【</span>0 返回<span style=\"color: #03a9f4;\">【0ihd【i噶</span>地方【爱的时候v【<span style=\"color: #cddc39;\">阿斯顿</span></h1><p></p>', '2023-07-08', 1, 1, '用户000', 'https://pic.imgdb.cn/item/6484889d1ddac507cc4fa95f.jpg');
INSERT INTO `article` VALUES (28, 1, '<p><a href=\"https://pic.imgdb.cn/item/640f1e5ef144a01007dfb60c.jpg\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://pic.imgdb.cn/item/640f1e5ef144a01007dfb60c.jpg</a><img src=\"https://pic.imgdb.cn/item/640f1e5ef144a01007dfb60c.jpg\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"></p>', '2023-07-09', 1, 3, '测试', 'https://pic.imgdb.cn/item/640f1e5ef144a01007dfb60c.jpg');
INSERT INTO `article` VALUES (29, 11, '<p><img src=\"https://pic.imgdb.cn/item/640f28d1f144a01007f57e2b.jpg\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"></p>', '2023-07-09', 1, 0, '8888888888', 'https://pic.imgdb.cn/item/640f28d1f144a01007f57e2b.jpg');

-- ----------------------------
-- Table structure for category
-- ----------------------------
DROP TABLE IF EXISTS `category`;
CREATE TABLE `category`  (
  `categoryId` int NOT NULL AUTO_INCREMENT COMMENT '标签ID',
  `category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签内容（包含图标）',
  `categoryName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '标签名称',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效（0/1）',
  PRIMARY KEY (`categoryId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '标签表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of category
-- ----------------------------
INSERT INTO `category` VALUES (0, '<i class=\"el-icon-discover\" style=\"margin-right: 10px\"></i> 综合', '综合', 1);
INSERT INTO `category` VALUES (1, '<i class=\"el-ico-alicyuyan\" style=\"margin-right: 10px\"></i> C', 'C', 1);
INSERT INTO `category` VALUES (2, '<i class=\"el-ico-aliCyuyan\" style=\"margin-right: 10px\"></i> C#', 'C#', 1);
INSERT INTO `category` VALUES (3, '<i class=\"el-ico-alicyuyan\" style=\"margin-right: 10px\"></i> C++', 'C++', 1);
INSERT INTO `category` VALUES (4, '<i class=\"el-ico-alicss3\" style=\"margin-right: 10px\"></i> CSS', 'CSS', 1);
INSERT INTO `category` VALUES (5, '<i class=\"el-ico-aliGoyuyan\" style=\"margin-right: 10px\"></i> Go', 'Go', 1);
INSERT INTO `category` VALUES (6, '<i class=\"el-ico-alijava\" style=\"margin-right: 10px\"></i> Java', 'Java', 1);
INSERT INTO `category` VALUES (7, '<i class=\"el-ico-alioutline-java-script\" style=\"margin-right: 10px\"></i> JavaScript', 'JavaScript', 1);
INSERT INTO `category` VALUES (8, '<i class=\"el-ico-alikotlin\" style=\"margin-right: 10px\"></i> Kotlin', 'Kotlin', 1);
INSERT INTO `category` VALUES (9, '<i class=\"el-ico-alicyuyan\" style=\"margin-right: 10px\"></i> ObjectiveC', 'Objective-C', 1);
INSERT INTO `category` VALUES (10, '<i class=\"el-ico-aliphp\" style=\"margin-right: 10px\"></i> PHP', 'PHP', 1);
INSERT INTO `category` VALUES (11, '<i class=\"el-ico-aliPython\" style=\"margin-right: 10px\"></i> python', 'python', 1);
INSERT INTO `category` VALUES (12, '<i class=\"el-ico-aliRubyyuyan\" style=\"margin-right: 10px\"></i> Ruby', 'Ruby', 1);
INSERT INTO `category` VALUES (13, '<i class=\"el-ico-alirust\" style=\"margin-right: 10px\"></i> Rust', 'Rust', 1);
INSERT INTO `category` VALUES (14, '<i class=\"el-ico-aliswift\" style=\"margin-right: 10px\"></i> Swift', 'Swift', 1);
INSERT INTO `category` VALUES (15, '<i class=\"el-icon-s-help\" style=\"margin-right: 10px\"></i> Other', 'Other', 1);
INSERT INTO `category` VALUES (16, '<i class=\"el-ico-alitushu\" style=\"margin-right: 10px\"></i> 开源书籍', '开源书籍', 1);
INSERT INTO `category` VALUES (17, '<i class=\"el-ico-alijiqixuexi___\" style=\"margin-right: 10px\"></i> 机器学习', '机器学习', 1);

-- ----------------------------
-- Table structure for comment
-- ----------------------------
DROP TABLE IF EXISTS `comment`;
CREATE TABLE `comment`  (
  `commentId` int NOT NULL AUTO_INCREMENT COMMENT '评论ID',
  `userId` int NULL DEFAULT NULL COMMENT '用户ID',
  `projectId` int NULL DEFAULT NULL COMMENT '项目ID',
  `content` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '评论内容',
  `isUsed` int NULL DEFAULT NULL COMMENT '是否使用过',
  `commentTime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '评论时间',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效',
  `star` int NULL DEFAULT NULL COMMENT '评分',
  `creatTime` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
  `likeNum` int NULL DEFAULT NULL COMMENT '点赞数',
  PRIMARY KEY (`commentId`) USING BTREE,
  INDEX `userId_comment`(`userId` ASC) USING BTREE,
  INDEX `projectId_comment`(`projectId` ASC) USING BTREE,
  CONSTRAINT `projectId_comment` FOREIGN KEY (`projectId`) REFERENCES `project` (`projectId`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `userId_comment` FOREIGN KEY (`userId`) REFERENCES `user` (`userId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '评论表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of comment
-- ----------------------------
INSERT INTO `comment` VALUES (20, 1, 1, '6666666666666666666666666666666666', 1, '2023-07-05 13:26:29', 1, 5, '2023-07-05 13:26:29', 215);
INSERT INTO `comment` VALUES (25, 1, 1, '0000000', 1, '2023-07-05 13:52:45', 1, 2, '2023-07-05 13:52:45', 61);
INSERT INTO `comment` VALUES (32, 1, 7, '888888888', 1, '2023-07-06 10:21:08', 1, 3, '2023-07-06 10:21:08', 6);
INSERT INTO `comment` VALUES (33, 7, 2, '1234567890', 1, '2023-07-06 12:32:29', 1, 5, '2023-07-06 12:32:29', 2);
INSERT INTO `comment` VALUES (34, 1, 3, '111111111111', 0, '2023-07-06 13:47:41', 1, 0, '2023-07-06 13:47:41', 3);
INSERT INTO `comment` VALUES (35, 1, 5, '88888', 1, '2023-07-06 20:07:51', 1, 5, '2023-07-06 20:07:51', 1);
INSERT INTO `comment` VALUES (36, 1, 7, '还不错哦', 1, '2023-07-06 21:17:24', 1, 5, '2023-07-06 21:17:24', 2);
INSERT INTO `comment` VALUES (37, 7, 2, '666666', 0, '2023-07-06 23:44:20', 1, 3, '2023-07-06 23:44:20', 0);
INSERT INTO `comment` VALUES (38, 1, 3, '挺好的，能用，完美', 1, '2023-07-07 15:41:02', 1, 5, '2023-07-07 15:41:02', 2);
INSERT INTO `comment` VALUES (39, 7, 3, '6666', 0, '2023-07-07 15:42:02', 1, 3, '2023-07-07 15:42:02', 0);
INSERT INTO `comment` VALUES (40, 1, 1, '6666', 1, '2023-07-07 21:49:58', 1, 3, '2023-07-07 21:49:58', 5);
INSERT INTO `comment` VALUES (41, 2, 2, '11111111', 1, '2023-07-07 23:33:47', 1, 4, '2023-07-07 23:33:47', 1);
INSERT INTO `comment` VALUES (42, 2, 6, 'e44444444444444', 1, '2023-07-07 23:34:28', 1, 5, '2023-07-07 23:34:28', 0);
INSERT INTO `comment` VALUES (43, 11, 1, '可以啊', 1, '2023-07-08 20:25:38', 1, 5, '2023-07-08 20:25:38', 0);
INSERT INTO `comment` VALUES (44, 11, 8, '暂无评论', 1, '2023-07-09 01:13:42', 1, 4, '2023-07-09 01:13:42', 0);
INSERT INTO `comment` VALUES (45, 1, 4, '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 1, '2023-07-09 01:25:17', 1, 5, '2023-07-09 01:25:17', 6);
INSERT INTO `comment` VALUES (46, 1, 2, '66666666666', 1, '2023-07-09 11:25:19', 1, 5, '2023-07-09 11:25:19', 2);
INSERT INTO `comment` VALUES (47, 1, 2, '66666666666666666666666666666666666666666666666666666', 1, '2023-07-09 11:26:04', 1, 5, '2023-07-09 11:26:04', 0);

-- ----------------------------
-- Table structure for githubinfo
-- ----------------------------
DROP TABLE IF EXISTS `githubinfo`;
CREATE TABLE `githubinfo`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `projectId` int NULL DEFAULT NULL COMMENT '项目Id',
  `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目头像',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '项目名称',
  `starImgUrl` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '星数曲线图url',
  `starCount` int NULL DEFAULT NULL COMMENT '星数',
  `mainLanguage` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '主语言',
  `isActive` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '是否活跃',
  `subscriber` int NULL DEFAULT NULL COMMENT '订阅者',
  `issues` int NULL DEFAULT NULL COMMENT 'issues',
  `isOrganization` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '是否组织',
  `defaultBranch` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '默认分支',
  `forks` int NULL DEFAULT NULL COMMENT 'forks数',
  `protocol` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '协议',
  `version` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NULL DEFAULT NULL COMMENT '最新版本',
  `isVaild` int NULL DEFAULT NULL COMMENT '是否有效',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `projectId_info`(`projectId` ASC) USING BTREE,
  CONSTRAINT `projectId_info` FOREIGN KEY (`projectId`) REFERENCES `project` (`projectId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 17 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of githubinfo
-- ----------------------------
INSERT INTO `githubinfo` VALUES (1, 2, 'https://avatars.githubusercontent.com/u/62598626?v=4', 'winsw', 'https://starchart.cc/winsw/winsw.svg', 9648, 'C#', 'true', 223, 186, 'Organization', 'v3', 1392, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (4, 19, 'https://avatars.githubusercontent.com/u/69631?v=4', 'redex', 'https://starchart.cc/facebook/redex.svg', 5844, 'C++', 'true', 229, 70, 'Organization', 'main', 671, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (5, 8, 'https://avatars.githubusercontent.com/u/6154722?v=4', 'AI-For-Beginners', 'https://starchart.cc/microsoft/AI-For-Beginners.svg', 15399, 'Jupyter Notebook', 'true', 191, 22, 'Organization', 'main', 2522, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (6, 1, 'https://avatars.githubusercontent.com/u/62598626?v=4', 'winsw', 'https://starchart.cc/winsw/winsw.svg', 9652, 'C#', 'true', 224, 186, 'Organization', 'v3', 1392, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (7, 7, 'https://avatars.githubusercontent.com/u/6154722?v=4', 'AI-For-Beginners', 'https://starchart.cc/microsoft/AI-For-Beginners.svg', 15405, 'Jupyter Notebook', 'true', 191, 22, 'Organization', 'main', 2523, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (8, 21, 'https://avatars.githubusercontent.com/u/3992393?v=4', 'SurveyKing', 'https://starchart.cc/javahuang/SurveyKing.svg', 1695, 'Java', 'true', 27, 15, 'User', 'master', 249, 'MIT', '0', 1);
INSERT INTO `githubinfo` VALUES (9, 20, 'https://avatars.githubusercontent.com/u/1862727?v=4', 'personal-security-checklist', 'https://starchart.cc/Lissy93/personal-security-checklist.svg', 11811, 'Java', 'true', 184, 26, 'User', 'master', 848, 'NOASSERTION', '0', 1);
INSERT INTO `githubinfo` VALUES (10, 3, 'https://avatars.githubusercontent.com/u/101538790?v=4', 'primihub', 'https://starchart.cc/primihub/primihub.svg', 573, 'C++', 'true', 18, 6, 'Organization', 'develop', 98, 'Apache-2.0', '0', 1);
INSERT INTO `githubinfo` VALUES (11, 22, 'https://avatars.githubusercontent.com/u/944947?v=4', 'httprouter', 'https://starchart.cc/julienschmidt/httprouter.svg', 15511, 'Go', 'true', 320, 83, 'User', 'master', 1442, 'BSD-3-Clause', '0', 1);
INSERT INTO `githubinfo` VALUES (12, 4, 'https://avatars.githubusercontent.com/u/101538790?v=4', 'primihub', 'https://starchart.cc/primihub/primihub.svg', 573, 'C++', 'true', 18, 6, 'Organization', 'develop', 98, 'Apache-2.0', '0', 1);
INSERT INTO `githubinfo` VALUES (13, 23, 'https://avatars.githubusercontent.com/u/15728815?v=4', 'LocationSimulator', 'https://starchart.cc/Schlaubischlump/LocationSimulator.svg', 1042, 'Swift', 'true', 17, 17, 'User', 'master', 98, 'GPL-3.0', '0', 0);
INSERT INTO `githubinfo` VALUES (14, 24, 'https://avatars.githubusercontent.com/u/825710?v=4', 'ckeditor5-vue', 'https://starchart.cc/ckeditor/ckeditor5-vue.svg', 306, 'JavaScript', 'true', 17, 15, 'Organization', 'master', 73, 'NOASSERTION', '0', 0);
INSERT INTO `githubinfo` VALUES (15, 5, 'https://avatars.githubusercontent.com/u/66820499?v=4', 'gotenberg', 'https://starchart.cc/gotenberg/gotenberg.svg', 5162, 'Go', 'true', 62, 52, 'Organization', 'main', 372, 'MIT', '0', 0);
INSERT INTO `githubinfo` VALUES (16, 25, 'https://avatars.githubusercontent.com/u/81452695?v=4', 'giscus', 'https://starchart.cc/giscus/giscus.svg', 5239, 'TypeScript', 'true', 21, 51, 'Organization', 'main', 224, 'MIT', '0', 0);

-- ----------------------------
-- Table structure for project
-- ----------------------------
DROP TABLE IF EXISTS `project`;
CREATE TABLE `project`  (
  `projectId` int NOT NULL AUTO_INCREMENT COMMENT '项目ID',
  `userId` int NULL DEFAULT NULL COMMENT '用户ID',
  `projectName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目名称',
  `projectUrl` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目地址',
  `projectIco` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目图标',
  `projectTitle` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目标题',
  `projectDescription` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '项目描述',
  `startNum` int NULL DEFAULT NULL COMMENT '点赞数',
  `submitTime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '提交时间',
  `categoryId` int NULL DEFAULT NULL COMMENT '分类ID',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效(0/1)',
  `fileAddress` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '项目文件地址',
  `periodicals` int NULL DEFAULT NULL COMMENT '期刊',
  `lookCount` int NULL DEFAULT NULL COMMENT '阅读次数',
  PRIMARY KEY (`projectId`) USING BTREE,
  INDEX `userId`(`userId` ASC) USING BTREE,
  INDEX `categoryId_project`(`categoryId` ASC) USING BTREE,
  CONSTRAINT `categoryId_project` FOREIGN KEY (`categoryId`) REFERENCES `category` (`categoryId`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `userId` FOREIGN KEY (`userId`) REFERENCES `user` (`userId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 26 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of project
-- ----------------------------
INSERT INTO `project` VALUES (1, 1, 'winsw/winsw', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 2, '2023-06-30 18:58:01', 8, 1, 'E:\\Desktop\\helloGithub\\web\\projectFile\\42f7b08d-59db-4083-8a59-ac2ad473a49b_general-background-master.zip', 1, 1222);
INSERT INTO `project` VALUES (2, 2, 'winsw/winsw', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 1, '2023-06-30 18:58:01', 2, 1, 'E:\\Desktop\\helloGithub\\web\\projectFile\\42f7b08d-59db-4083-8a59-ac2ad473a49b_general-background-master.zip', 1, 234);
INSERT INTO `project` VALUES (3, 4, 'primihub/primihub', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 1, '2023-06-30 18:58:01', 3, 1, 'E:\\Desktop\\helloGithub\\web\\projectFile\\42f7b08d-59db-4083-8a59-ac2ad473a49b_general-background-master.zip', 1, 442);
INSERT INTO `project` VALUES (4, 1, 'primihub/primihub', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 1, '2023-06-30 18:58:01', 4, 1, '', 2, 4507);
INSERT INTO `project` VALUES (5, 5, 'gotenberg/gotenberg', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 0, '2023-06-30 18:58:01', 5, 1, '', 4, 642);
INSERT INTO `project` VALUES (6, 2, 'gotenberg/gotenberg', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6450e1b10d2dde5777f2fdbc.jpg', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 0, '2023-06-30 18:58:01', 6, 1, '', 1, 704);
INSERT INTO `project` VALUES (7, 6, 'microsoft/AI-For-Beginners', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/6495df131ddac507cc80689f.png', '由密码学专家团队打造的开源隐私计算平台\r\nHelloGitHub 评分\r\n', '随着《数据安全法》和《个人信息保护法》的相继颁布，隐私计算技术在近两年迎来了前所未有的热度。该项目是由密码学专家团队打造的隐私计算平台，它开箱即用、安全可靠，支持隐匿查询、隐私求交、联合统计、数据资源管理等功能，实现了“数据可用不可见”，为数据安全流通保驾护航。', 1, '2023-06-30 18:58:01', 7, 1, '', 3, 7870);
INSERT INTO `project` VALUES (8, 7, 'microsoft/AI-For-Beginners', 'https://github.com/winsw/winsw', 'https://pic.imgdb.cn/item/646870fce03e90d874c39515.png', '666', '随着《数据安全法》和《个人信息保护法》', 1, '2023-06-30 18:58:01', 8, 1, '', 1, 8973);
INSERT INTO `project` VALUES (19, 1, 'facebook/redex', 'https://github.com/facebook/redex', 'https://avatars.githubusercontent.com/u/69631?v=4', 'ReDex: An Android Bytecod', '<p><span style=\"color: rgb(230, 237, 243);\"><span style=\"background-color: rgb(13, 17, 23);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">ReDex is an Android bytecode (dex) optimizer originally developed at Facebook. It provides a framework for reading, writing, and analyzing .dex files, and a set of optimization passes that use this framework to improve the bytecode. An APK optimized by ReDex should be smaller and faster than its source.</span></span></span></span></p>', 0, '2023-07-08 22:58:39', 3, 1, 'E:\\Desktop\\helloGithub\\web\\projectFile\\88ad2539-b401-4ba7-b131-7a6163738ba7_general-background-master.zip', 3, 19);
INSERT INTO `project` VALUES (20, 1, 'Lissy93/personal-security-checklist', 'https://github.com/Lissy93/personal-security-checklist', 'https://avatars.githubusercontent.com/u/1862727?v=4', 'https://github.com/Lissy9', '<p><a href=\"https://github.com/Lissy9\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://github.com/Lissy9</a></p>', 0, '2023-07-09 00:09:23', 7, 1, 'E:\\Desktop\\helloGithub\\web\\projectFile\\ced05562-0a07-47af-a743-5ac208baf9f2_1.jpg', 4, 7);
INSERT INTO `project` VALUES (21, 1, 'javahuang/SurveyKing', 'https://github.com/javahuang/SurveyKing', 'https://avatars.githubusercontent.com/u/3992393?v=4', 'https://github.com/javahu', '<p><a href=\"https://github.com/javahuang/SurveyKing\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://github.com/javahuang/SurveyKing</a></p>', 0, '2023-07-09 00:30:49', 7, 1, 'helloGithub\\web\\projectFile\\47d25f4d-2fd8-48bb-9299-06e53ecb2d55_17.jpg', 5, 16);
INSERT INTO `project` VALUES (22, 11, 'julienschmidt/httprouter', 'https://github.com/julienschmidt/httprouter', 'https://avatars.githubusercontent.com/u/944947?v=4', 'HttpRouter Build Status', '<p><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">HttpRouter is a lightweight high performance HTTP request router (also called </span></span></span><em><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">multiplexer</span></span></span></em><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\"> or just </span></span></span><em><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">mux</span></span></span></em><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\"> for short) for </span></span></span><a href=\"https://golang.org/\" ref=\"nofollow\"><span style=\"color: var(--fgColor-accent, var(--color-accent-fg));\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">Go</span></span></span></a><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">.</span></span></p><p><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">In contrast to the </span></span></span><a href=\"https://golang.org/pkg/net/http/#ServeMux\" ref=\"nofollow\"><span style=\"color: var(--fgColor-accent, var(--color-accent-fg));\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">default mux</span></span></span></a><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\"> of Go\'s </span></span><span style=\"font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace\"><span style=\"font-size: 13.6px\">net/http</span></span> package, this router supports variables in the routing pattern and matches against the request method. It also scales better.</p><p><span style=\"color: rgb(230, 237, 243);\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">The router is optimized for high performance and a small memory footprint. It scales well even with very long paths and a large number of routes. A compressing dynamic trie (radix tree) structure is used for efficient matching.</span></span></span></p>', 0, '2023-07-09 01:19:31', 5, 1, 'helloGithub\\web\\projectFile\\8d46b39e-be81-4558-ad68-5c5ffa094fc5_general-background-master.zip', 6, 11);
INSERT INTO `project` VALUES (23, 6, 'Schlaubischlump/LocationSimulator', 'https://github.com/Schlaubischlump/LocationSimulator', 'https://avatars.githubusercontent.com/u/15728815?v=4', 'https://github.com/Schlau', '<p><a href=\"https://github.com/Schlaubischlump/LocationSimulator\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://github.com/Schlaubischlump/LocationSimulator</a></p>', 0, '2023-07-09 14:10:07', 7, 1, NULL, 6, 20);
INSERT INTO `project` VALUES (24, 1, 'ckeditor/ckeditor5-vue', 'https://github.com/ckeditor/ckeditor5-vue', 'https://avatars.githubusercontent.com/u/825710?v=4', '适用于 Vue.js 的 CKEditor 5 富', '<p><strong><span style=\"color: #000000;\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">该存储库包含 Vue.js 的 CKEditor 5 组件</span></span><span style=\"font-family: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace\"><span style=\"font-size: 13.6px\">3+</span></span>。较低 Vue.js 版本的组件位于另一个存储库 - </span></strong><a href=\"https://github.com/ckeditor/ckeditor5-vue2\" ref=\"nofollow\"><strong><span style=\"color: #000000;\">@ckeditor/ckeditor5-vue2</span></strong></a><strong><span style=\"color: #000000;\">中。</span></strong></p><p><strong><span style=\"color: #000000;\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">Vue.js 的官方</span></span></span></strong><a href=\"https://ckeditor.com/ckeditor-5/\" ref=\"nofollow\"><strong><span style=\"color: #000000;\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">CKEditor 5</span></span></span></strong></a><strong><span style=\"color: #000000;\"><span style=\"font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Noto Sans, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji\"><span style=\"font-size: 16px\">富文本编辑器组件。</span></span></span></strong></p><p></p><pre><code>npm install --save @ckeditor/ckeditor5-vue @ckeditor/ckeditor5-build-classic</code></pre><p><img src=\"https://pic.imgdb.cn/item/646b2d38e03e90d874cdff3b.png\" alt=\"\" title=\"\" width=\"200\" data-display=\"inline\"></p>', 0, '2023-07-09 16:30:26', 7, 1, NULL, 7, 13);
INSERT INTO `project` VALUES (25, 1, 'giscus/giscus', 'https://github.com/giscus/giscus', 'https://avatars.githubusercontent.com/u/81452695?v=4', 'https://github.com/giscus', '<p><a href=\"https://github.com/giscus/giscus\" target=\"_blank\" ref=\"nofollow noopener noreferrer\">https://github.com/giscus/giscus</a></p>', 0, '2023-07-09 16:47:33', 7, 1, '123', 9, 5);

-- ----------------------------
-- Table structure for project_category
-- ----------------------------
DROP TABLE IF EXISTS `project_category`;
CREATE TABLE `project_category`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'id',
  `categoryId` int NULL DEFAULT NULL COMMENT '标签ID',
  `projectId` int NULL DEFAULT NULL COMMENT '项目ID',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `categoryId`(`categoryId` ASC) USING BTREE,
  INDEX `projectId`(`projectId` ASC) USING BTREE,
  CONSTRAINT `categoryId` FOREIGN KEY (`categoryId`) REFERENCES `category` (`categoryId`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `projectId` FOREIGN KEY (`projectId`) REFERENCES `project` (`projectId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 48 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '项目标签中间表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of project_category
-- ----------------------------
INSERT INTO `project_category` VALUES (1, 1, 1);
INSERT INTO `project_category` VALUES (2, 2, 2);
INSERT INTO `project_category` VALUES (3, 3, 3);
INSERT INTO `project_category` VALUES (4, 4, 4);
INSERT INTO `project_category` VALUES (5, 5, 5);
INSERT INTO `project_category` VALUES (6, 6, 6);
INSERT INTO `project_category` VALUES (7, 7, 7);
INSERT INTO `project_category` VALUES (8, 8, 8);
INSERT INTO `project_category` VALUES (9, 2, 1);
INSERT INTO `project_category` VALUES (31, 3, 19);
INSERT INTO `project_category` VALUES (32, 6, 19);
INSERT INTO `project_category` VALUES (33, 11, 19);
INSERT INTO `project_category` VALUES (34, 7, 20);
INSERT INTO `project_category` VALUES (35, 5, 20);
INSERT INTO `project_category` VALUES (36, 6, 20);
INSERT INTO `project_category` VALUES (37, 7, 21);
INSERT INTO `project_category` VALUES (38, 6, 21);
INSERT INTO `project_category` VALUES (39, 5, 21);
INSERT INTO `project_category` VALUES (40, 5, 22);
INSERT INTO `project_category` VALUES (41, 7, 23);
INSERT INTO `project_category` VALUES (42, 6, 23);
INSERT INTO `project_category` VALUES (43, 5, 23);
INSERT INTO `project_category` VALUES (44, 7, 24);
INSERT INTO `project_category` VALUES (45, 7, 25);
INSERT INTO `project_category` VALUES (46, 6, 25);
INSERT INTO `project_category` VALUES (47, 5, 25);

-- ----------------------------
-- Table structure for support
-- ----------------------------
DROP TABLE IF EXISTS `support`;
CREATE TABLE `support`  (
  `id` int NOT NULL AUTO_INCREMENT COMMENT 'ID',
  `userId` int NULL DEFAULT NULL COMMENT '用户Id',
  `projectId` int NULL DEFAULT NULL COMMENT '项目Id',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效',
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `userId_support`(`userId` ASC) USING BTREE,
  INDEX `projectId_support`(`projectId` ASC) USING BTREE,
  CONSTRAINT `projectId_support` FOREIGN KEY (`projectId`) REFERENCES `project` (`projectId`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `userId_support` FOREIGN KEY (`userId`) REFERENCES `user` (`userId`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 73 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_0900_ai_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of support
-- ----------------------------
INSERT INTO `support` VALUES (44, 1, 7, 1);
INSERT INTO `support` VALUES (66, 11, 1, 1);
INSERT INTO `support` VALUES (67, 1, 3, 1);
INSERT INTO `support` VALUES (68, 11, 8, 1);
INSERT INTO `support` VALUES (69, 1, 4, 1);
INSERT INTO `support` VALUES (70, 1, 2, 1);

-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user`  (
  `userId` int NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `userName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户名',
  `userPassword` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '密码',
  `creatTime` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '创建时间',
  `isValid` int NULL DEFAULT NULL COMMENT '是否有效(0/1)',
  `projectNum` int NULL DEFAULT NULL COMMENT '提交的项目总数',
  `searchHistory` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL COMMENT '搜索历史',
  `contributionValue` int NULL DEFAULT NULL COMMENT '贡献值',
  `userAvatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '用户头像',
  `userLevel` int NULL DEFAULT NULL COMMENT '用户等级',
  PRIMARY KEY (`userId`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 12 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci COMMENT = '用户表' ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, '666', '666', '2023-06-29 22:43:22', 1, 5, '666;666;666;密码;', 5, '\\helloGithub\\web\\uploadFile\\e19c96bf-d591-40cb-b677-cf8d1334870b_4.jpg', 5);
INSERT INTO `user` VALUES (2, '111', '111', '2023-06-29 22:43:22', 1, 1, '', 5, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (4, '222', '222', '2023-07-03', 1, NULL, '', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (5, '333', '333', '2023-07-03', 1, NULL, '', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (6, '999', '999', '2023-07-03', 1, NULL, '66;', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (7, '777', '777', '2023-07-07', 1, 0, '', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (9, 'zhy', 'zhy', '2023-07-08', 1, 0, '', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (10, 'test', 'test', '2023-07-08', 1, 0, '', 0, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);
INSERT INTO `user` VALUES (11, '000', '000', '2023-07-08', 1, 0, '', 10, '\\helloGithub\\web\\uploadFile\\2f39ee7b-3c6f-4fe4-8b01-5546a3140e5b_7.jpg', 1);

SET FOREIGN_KEY_CHECKS = 1;
