-
Notifications
You must be signed in to change notification settings - Fork 2
/
database.sql
41 lines (35 loc) · 1.47 KB
/
database.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
/*
Navicat MySQL Data Transfer
Source Server : 127.0.0.1
Source Server Version : 50726
Source Host : 127.0.0.1:3306
Source Database : evol_abp_test
Target Server Type : MYSQL
Target Server Version : 50726
File Encoding : 65001
Date: 2020-03-03 20:36:36
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for customer
-- ----------------------------
DROP TABLE IF EXISTS `customer`;
CREATE TABLE `customer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`loginName` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`name` varchar(200) NOT NULL,
`email` varchar(200) NOT NULL,
`balance` decimal(10,0) NOT NULL,
`point` int(11) NOT NULL,
`createTime` datetime NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4;
-- ----------------------------
-- Records of customer
-- ----------------------------
INSERT INTO `customer` VALUES ('1', 'zhangsan', '111222', '张三', '[email protected]', '101', '10', '2019-12-10 00:20:12');
INSERT INTO `customer` VALUES ('2', 'lisi', '000111', '李四', '[email protected]', '20', '1', '2019-12-10 09:10:00');
INSERT INTO `customer` VALUES ('4', 'qianqi', '555666', '钱七', '[email protected]', '0', '0', '2019-12-10 11:42:58');
INSERT INTO `customer` VALUES ('5', 'liba', '222000', '李八5', '[email protected]', '0', '0', '2019-12-10 11:45:56');
INSERT INTO `customer` VALUES ('9', 'qishiyi', '444555', '其十一', '[email protected]', '0', '0', '2019-12-10 15:17:37');