-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgin.sql
40 lines (33 loc) · 1.23 KB
/
gin.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
/*
Navicat Premium Data Transfer
Source Server : localhost
Source Server Type : MySQL
Source Server Version : 50721
Source Host : localhost:3306
Source Schema : gin
Target Server Type : MySQL
Target Server Version : 50721
File Encoding : 65001
Date: 26/02/2019 14:55:23
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for users
-- ----------------------------
DROP TABLE IF EXISTS `users`;
CREATE TABLE `users` (
`id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`name` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NOT NULL DEFAULT '',
`age` tinyint(2) UNSIGNED NOT NULL DEFAULT 0,
`sex` tinyint(1) UNSIGNED NOT NULL DEFAULT 0,
`create_time` int(11) UNSIGNED NOT NULL DEFAULT 0,
`update_time` int(11) UNSIGNED NOT NULL DEFAULT 0,
PRIMARY KEY (`id`) USING BTREE
) ENGINE = MyISAM AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES (1, 'mary', 18, 2, 1561231230, 1551163949);
INSERT INTO `users` VALUES (2, '江测试', 20, 1, 1551163973, 0);
SET FOREIGN_KEY_CHECKS = 1;