This repository has been archived by the owner on Feb 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdemo.sql
71 lines (61 loc) · 2.26 KB
/
demo.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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
/*
Navicat MySQL Data Transfer
Source Server : 虚拟机
Source Server Version : 80012
Source Host : 192.168.22.131:3306
Source Database : demo
Target Server Type : MYSQL
Target Server Version : 80012
File Encoding : 65001
Date: 2019-02-02 12:19:17
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for dm_detail
-- ----------------------------
DROP TABLE IF EXISTS `dm_detail`;
CREATE TABLE `dm_detail` (
`dm_detail_id` int(11) NOT NULL AUTO_INCREMENT,
`dm_detail_name` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
`dm_detail_gender` tinyint(1) NOT NULL,
PRIMARY KEY (`dm_detail_id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
-- ----------------------------
-- Records of dm_detail
-- ----------------------------
INSERT INTO `dm_detail` VALUES ('1', '宇宏呀', '1');
INSERT INTO `dm_detail` VALUES ('4', '你是猪', '0');
-- ----------------------------
-- Table structure for dm_user
-- ----------------------------
DROP TABLE IF EXISTS `dm_user`;
CREATE TABLE `dm_user` (
`dm_user_id` int(11) NOT NULL AUTO_INCREMENT,
`dm_user_password` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`dm_user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
-- ----------------------------
-- Records of dm_user
-- ----------------------------
INSERT INTO `dm_user` VALUES ('7', '123456');
INSERT INTO `dm_user` VALUES ('10', '1154065003');
INSERT INTO `dm_user` VALUES ('24', '13408285721');
-- ----------------------------
-- Table structure for undo_log
-- ----------------------------
DROP TABLE IF EXISTS `undo_log`;
CREATE TABLE `undo_log` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`branch_id` bigint(20) NOT NULL,
`xid` varchar(100) NOT NULL,
`rollback_info` longblob NOT NULL,
`log_status` int(11) NOT NULL,
`log_created` datetime NOT NULL,
`log_modified` datetime NOT NULL,
`ext` varchar(100) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `idx_unionkey` (`xid`,`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of undo_log
-- ----------------------------