wechat.sql
1.23 KB
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 MySQL Data Transfer
Source Server : localhost
Source Server Version : 50524
Source Host : localhost:3306
Source Database : wechat
Target Server Type : MYSQL
Target Server Version : 50524
File Encoding : 65001
Date: 2015-07-03 20:14:27
*/
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,
`open_id` varchar(100) DEFAULT '',
`user_id` int(11) DEFAULT '0',
`accountName` varchar(255) DEFAULT NULL,
`password` varchar(255) DEFAULT NULL,
`registerNo` varchar(255) DEFAULT NULL,
`businessType` int(255) DEFAULT '1',
`active` int(255) DEFAULT '0' COMMENT '绑定状态',
`createdAt` datetime DEFAULT '0000-00-00 00:00:00',
`updatedAt` datetime DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
UNIQUE KEY `openid` (`open_id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES ('10', 'FromUs1213', '5205', '13000000019', '13000000019', null, '1', '0', '2015-07-03 18:55:23', '2015-07-03 20:13:40');