forked from youtongluan/sumk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.sql
51 lines (41 loc) · 1.32 KB
/
test.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
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50610
Source Host : localhost:3306
Source Database : test
Target Server Type : MYSQL
Target Server Version : 50610
File Encoding : 65001
Date: 2016-09-08 17:28:55
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `demouser`
-- ----------------------------
DROP TABLE IF EXISTS `demouser`;
CREATE TABLE `demouser` (
`id` bigint(20) NOT NULL DEFAULT '0',
`name` varchar(255) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`lastUpdate` timestamp NULL DEFAULT NULL,
`enable` tinyint(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of demouser
-- ----------------------------
-- ----------------------------
-- Table structure for `multikey`
-- ----------------------------
DROP TABLE IF EXISTS `multikey`;
CREATE TABLE `multikey` (
`id1` varchar(100) CHARACTER SET utf8 NOT NULL DEFAULT '',
`id2` varchar(100) NOT NULL DEFAULT '',
`name` varchar(100) CHARACTER SET utf8 DEFAULT NULL,
`age` int(11) DEFAULT NULL,
PRIMARY KEY (`id1`,`id2`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of multikey
-- ----------------------------