mysql-product.sql
1.92 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
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
72
73
74
/*
Navicat MySQL Data Transfer
Source Server : 127
Source Server Version : 50623
Source Host : localhost
Source Database : demo_st
Target Server Version : 50623
File Encoding : utf-8
Date: 04/12/2016 16:05:41 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `product_user_collect`
-- ----------------------------
DROP TABLE IF EXISTS `product_user_collect`;
CREATE TABLE `product_user_collect` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`create_time` bigint(20) NOT NULL,
`status` tinyint(4) NOT NULL,
`user_name` varchar(255) NOT NULL,
`user_phone` varchar(255) NOT NULL,
`user_address` varchar(255) NOT NULL,
`user_buy_product` varchar(255) DEFAULT NULL,
`user_buy_time` varchar(255) DEFAULT NULL,
`img_url` varchar(255) DEFAULT NULL,
`user_describe` text,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=62 DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;
/*
Navicat MySQL Data Transfer
Source Server : 127
Source Server Version : 50623
Source Host : localhost
Source Database : demo_st
Target Server Version : 50623
File Encoding : utf-8
Date: 04/12/2016 16:05:37 PM
*/
SET NAMES utf8;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for `product_apply`
-- ----------------------------
DROP TABLE IF EXISTS `product_apply`;
CREATE TABLE `product_apply` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`city` varchar(255) DEFAULT NULL,
`activity_time` varchar(255) DEFAULT NULL,
`activity_address` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`count` bigint(20) DEFAULT NULL,
`product` varchar(255) DEFAULT NULL,
`reason` varchar(255) DEFAULT NULL,
`create_time` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
SET FOREIGN_KEY_CHECKS = 1;