-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathdemo2.sql
31 lines (26 loc) · 919 Bytes
/
demo2.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
/*
Navicat MySQL Data Transfer
Source Server : localhost
Source Server Version : 50716
Source Host : localhost:3306
Source Database : demo2
Target Server Type : MYSQL
Target Server Version : 50716
File Encoding : 65001
Date: 2018-05-15 11:58:09
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for user_info
-- ----------------------------
DROP TABLE IF EXISTS `user_info`;
CREATE TABLE `user_info` (
`user_id` int(11) NOT NULL,
`realname` varchar(20) DEFAULT NULL COMMENT '姓名',
`gander` int(1) DEFAULT NULL COMMENT '姓别',
`brithday` date DEFAULT NULL COMMENT '生日',
`mobile` varchar(11) DEFAULT NULL COMMENT '手机号',
`address` varchar(255) DEFAULT NULL COMMENT '住址',
`enable` bit(1) DEFAULT NULL COMMENT '禁用状态',
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;