Skip to content

Commit 5622826

Browse files
committed
修改demo-user.sql
1 parent 5a8091a commit 5622826

File tree

1 file changed

+30
-28
lines changed

1 file changed

+30
-28
lines changed

src/test/resources/demo-user.sql

Lines changed: 30 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,47 @@
11
/*
2-
Navicat MySQL Data Transfer
2+
Navicat MySQL Data Transfer
33
4-
Source Server : Localhost
5-
Source Server Version : 50713
6-
Source Host : localhost:3306
7-
Source Database : test
4+
Source Server : 本地数据库
5+
Source Server Type : MySQL
6+
Source Server Version : 50648
7+
Source Host : localhost
8+
Source Database : monkey
89
9-
Target Server Type : MYSQL
10-
Target Server Version : 50713
11-
File Encoding : 65001
10+
Target Server Type : MySQL
11+
Target Server Version : 50648
12+
File Encoding : utf-8
1213
13-
Date: 2017-06-23 14:25:27
14+
Date: 08/09/2020 09:48:05 AM
1415
*/
1516

16-
SET FOREIGN_KEY_CHECKS=0;
17+
SET NAMES utf8;
18+
SET FOREIGN_KEY_CHECKS = 0;
1719

1820
-- ----------------------------
19-
-- Table structure for user
21+
-- Table structure for `demo_user`
2022
-- ----------------------------
21-
DROP TABLE IF EXISTS `user`;
22-
CREATE TABLE `user` (
23-
`id` int(11) NOT NULL AUTO_INCREMENT,
23+
DROP TABLE IF EXISTS `demo_user`;
24+
CREATE TABLE `demo_user` (
25+
`id` bigint(20) NOT NULL AUTO_INCREMENT,
2426
`username` varchar(255) NOT NULL,
2527
`password` varchar(255) NOT NULL,
2628
`nick_name` varchar(255) DEFAULT NULL,
29+
`email` varchar(255) DEFAULT NULL,
2730
`sex` int(1) DEFAULT NULL,
28-
`register_date` datetime NOT NULL,
31+
`register_date` datetime DEFAULT NULL,
32+
`create_time` datetime DEFAULT NULL,
33+
`update_by` bigint(20) DEFAULT NULL,
34+
`create_by` bigint(20) DEFAULT NULL,
35+
`update_time` datetime DEFAULT NULL,
36+
`delete_flag` tinyint(2) DEFAULT NULL,
2937
PRIMARY KEY (`id`)
30-
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
38+
) ENGINE=InnoDB AUTO_INCREMENT=208 DEFAULT CHARSET=utf8;
3139

3240
-- ----------------------------
33-
-- Records of user
41+
-- Records of `demo_user`
3442
-- ----------------------------
35-
INSERT INTO `user` VALUES ('1', '89921218@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆', '1', '2017-06-23 14:24:23');
36-
INSERT INTO `user` VALUES ('2', '2@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-2', '1', '2017-06-23 14:24:23');
37-
INSERT INTO `user` VALUES ('3', '3@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-3', '1', '2017-06-23 14:24:23');
38-
INSERT INTO `user` VALUES ('4', '4@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-4', '1', '2017-06-23 14:24:23');
39-
INSERT INTO `user` VALUES ('5', '5@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-5', '1', '2017-06-23 14:24:23');
40-
INSERT INTO `user` VALUES ('6', '6@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-6', '1', '2017-06-23 14:24:23');
41-
INSERT INTO `user` VALUES ('7', '7@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-7', '1', '2017-06-23 14:24:23');
42-
INSERT INTO `user` VALUES ('8', '8@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-8', '1', '2017-06-23 14:24:23');
43-
INSERT INTO `user` VALUES ('9', '9@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-9', '1', '2017-06-23 14:24:23');
44-
INSERT INTO `user` VALUES ('10', '10@qq.com', '1ee04e0b1cb5af7367c80c22e42efd8b', '土豆-10', '1', '2017-06-23 14:24:23');
45-
SET FOREIGN_KEY_CHECKS=1;
43+
BEGIN;
44+
INSERT INTO `demo_user` VALUES ('46', 'Tt0ekpw8c90ld', 'Wvuio0jph', 'xiaoliuzhuoqianmingyuexiaolixiaoliuzhuoqianmingyuexiaoli', '3y2d_zcehb14d@JOBq.ape', '0', '2018-11-23 00:00:00', '2020-08-08 10:18:53', null, null, null, '1');
45+
COMMIT;
46+
47+
SET FOREIGN_KEY_CHECKS = 1;

0 commit comments

Comments
 (0)