1 Star 0 Fork 0

前端少年汪/node-express-learn

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
nodeapp.sql 2.55 KB
一键复制 编辑 原始数据 按行查看 历史
zhaoqin2001 提交于 2021-09-20 23:24 . init commit
/*
Navicat MySQL Data Transfer
Source Server : root
Source Server Version : 80026
Source Host : localhost:3306
Source Database : nodeapp
Target Server Type : MYSQL
Target Server Version : 80026
File Encoding : 65001
Date: 2021-09-18 16:11:37
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for cate
-- ----------------------------
DROP TABLE IF EXISTS `cate`;
CREATE TABLE `cate` (
`id` int NOT NULL AUTO_INCREMENT COMMENT '用户id',
`category` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci NOT NULL DEFAULT '' COMMENT '分类',
`status` int unsigned DEFAULT NULL COMMENT '状态',
`create_time` datetime(6) DEFAULT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci ROW_FORMAT=DYNAMIC;
-- ----------------------------
-- Records of cate
-- ----------------------------
INSERT INTO `cate` VALUES ('1', 'qk', '1', '2021-09-18 15:26:54.000000');
INSERT INTO `cate` VALUES ('4', 'wmq', '0', '2021-09-18 15:27:21.000000');
INSERT INTO `cate` VALUES ('5', 'qq', '1', '2021-09-18 15:47:55.000000');
-- ----------------------------
-- Table structure for post
-- ----------------------------
DROP TABLE IF EXISTS `post`;
CREATE TABLE `post` (
`id` int NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`pic` varchar(255) DEFAULT NULL,
`desc` varchar(255) DEFAULT NULL,
`cate_id` int DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of post
-- ----------------------------
INSERT INTO `post` VALUES ('1', 'express', null, 'express框架', '1', '2021-09-18 15:45:48');
INSERT INTO `post` VALUES ('2', 'vue', null, 'vue实战', '2', '2021-09-18 15:46:47');
INSERT INTO `post` VALUES ('3', 'react', null, 'react实战', '1', '2021-09-18 15:47:17');
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` int NOT NULL AUTO_INCREMENT,
`user_name` varchar(255) DEFAULT NULL,
`user_pic` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`phone` varchar(11) DEFAULT NULL,
`email` varchar(255) DEFAULT NULL,
`status` tinyint DEFAULT NULL,
`create_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
-- ----------------------------
-- Records of user
-- ----------------------------
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/frontendBoy_wang/node-express-learn.git
git@gitee.com:frontendBoy_wang/node-express-learn.git
frontendBoy_wang
node-express-learn
node-express-learn
master

搜索帮助