加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
springbootjpa.sql 2.28 KB
一键复制 编辑 原始数据 按行查看 历史
韩天乐 提交于 2023-05-08 17:17 . 初始化
/*
Navicat Premium Data Transfer
Source Server : 本地 ys_nj_sst!
Source Server Type : MySQL
Source Server Version : 80018 (8.0.18)
Source Host : 127.0.0.1:3306
Source Schema : springbootjpa
Target Server Type : MySQL
Target Server Version : 80018 (8.0.18)
File Encoding : 65001
Date: 08/05/2023 17:14:48
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for book
-- ----------------------------
DROP TABLE IF EXISTS `book`;
CREATE TABLE `book` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '书名',
`author` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '作者',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of book
-- ----------------------------
-- ----------------------------
-- Table structure for user
-- ----------------------------
DROP TABLE IF EXISTS `user`;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`username` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`password` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
`regdate` datetime(6) NULL DEFAULT NULL,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 13 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of user
-- ----------------------------
INSERT INTO `user` VALUES (1, '张三', '123', '2023-05-06 09:24:49.000000');
INSERT INTO `user` VALUES (2, '李四', '123', '2023-05-06 09:24:52.000000');
INSERT INTO `user` VALUES (3, '王五', '123', '2023-05-06 09:24:53.000000');
INSERT INTO `user` VALUES (4, '赵六', '123', '2023-05-06 09:24:54.000000');
INSERT INTO `user` VALUES (5, '韩七', '123', '2023-05-06 09:24:55.000000');
INSERT INTO `user` VALUES (6, '杨八', '123', '2023-05-06 09:24:55.000000');
INSERT INTO `user` VALUES (11, '韩天乐', '111111', '2023-05-06 14:09:20.489000');
INSERT INTO `user` VALUES (12, '韩天喜', '222222', '2023-05-08 09:13:32.000000');
SET FOREIGN_KEY_CHECKS = 1;
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化