mysql-product.sql 1.92 KB
/*
 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;