1 Star 0 Fork 57

流涧水/handgo

forked from stackfing/handgo 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
handgo.sql 7.67 KB
一键复制 编辑 原始数据 按行查看 历史
stackfing 提交于 2018-01-27 18:01 . reasdme update
-- MySQL dump 10.13 Distrib 5.7.18, for Linux (x86_64)
--
-- Host: localhost Database: handgo
-- ------------------------------------------------------
-- Server version 5.7.18-1
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `category`
--
DROP TABLE IF EXISTS `category`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `category` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`avaliable` int(11) NOT NULL,
`name` varchar(255) DEFAULT NULL,
`parent` bigint(20) DEFAULT NULL,
`root_tag` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `category`
--
LOCK TABLES `category` WRITE;
/*!40000 ALTER TABLE `category` DISABLE KEYS */;
INSERT INTO `category` VALUES (1,1,'1',0,1),(2,1,'1',0,1),(3,1,'1',0,1),(4,1,'1',0,1),(5,1,'1',0,1),(6,1,'1',0,1),(7,1,'1',0,1),(8,1,'1',0,1),(9,1,'1',0,1),(10,1,'1',0,1),(11,1,'1',0,1),(12,1,'1',0,1),(13,1,'1',0,1),(14,1,'1',0,1),(15,1,'1',0,1),(16,1,'1',0,1);
/*!40000 ALTER TABLE `category` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `description`
--
DROP TABLE IF EXISTS `description`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `description` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`description` varchar(255) DEFAULT NULL,
`product_id` bigint(20) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `description`
--
LOCK TABLES `description` WRITE;
/*!40000 ALTER TABLE `description` DISABLE KEYS */;
/*!40000 ALTER TABLE `description` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `kill_product`
--
DROP TABLE IF EXISTS `kill_product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kill_product` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`emd_time` date DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`price` decimal(19,2) DEFAULT NULL,
`product_id` bigint(20) DEFAULT NULL,
`start_time` date DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `kill_product`
--
LOCK TABLES `kill_product` WRITE;
/*!40000 ALTER TABLE `kill_product` DISABLE KEYS */;
INSERT INTO `kill_product` VALUES (1,'2018-01-26','1','1',1.00,1,'2018-01-26','/product/1');
/*!40000 ALTER TABLE `kill_product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `notice`
--
DROP TABLE IF EXISTS `notice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`content` varchar(255) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`title` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `notice`
--
LOCK TABLES `notice` WRITE;
/*!40000 ALTER TABLE `notice` DISABLE KEYS */;
INSERT INTO `notice` VALUES (1,'内容','../images/1.jpg','测试标题','【测试】'),(2,'测试','../images/1.jpg','测试标题','测试标题'),(3,'测试','../images/1.jpg','测试标题','测试标题'),(4,'测试','../images/1.jpg','测试标题 ','测试标题'),(5,'测试','../images/1.jpg','测试标题','测试标题'),(6,'测试','../images/1.jpg','测试标题','测试标题'),(7,'测试','../images/1.jpg','测试标题','测试标题'),(8,'测试','../images/1.jpg','测试标题','测试标题');
/*!40000 ALTER TABLE `notice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product`
--
DROP TABLE IF EXISTS `product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`create_time` datetime DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`photo` varchar(255) DEFAULT NULL,
`price` decimal(19,2) DEFAULT NULL,
`quantity` bigint(20) DEFAULT NULL,
`sold` int(11) NOT NULL,
`status` int(11) NOT NULL,
`update_time` datetime DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product`
--
LOCK TABLES `product` WRITE;
/*!40000 ALTER TABLE `product` DISABLE KEYS */;
INSERT INTO `product` VALUES (1,'2018-01-26 14:11:16','1','1',1.00,1,1,1,'2018-01-26 14:11:21');
/*!40000 ALTER TABLE `product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product_info`
--
DROP TABLE IF EXISTS `product_info`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `product_info` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`current_price` decimal(19,2) DEFAULT NULL,
`discription` varchar(255) DEFAULT NULL,
`discuss_count` bigint(20) DEFAULT NULL,
`moth_sale` bigint(20) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
`original_price` decimal(19,2) DEFAULT NULL,
`photos` tinyblob,
`product_id` bigint(20) DEFAULT NULL,
`sale_amount` bigint(20) DEFAULT NULL,
`stock` bigint(20) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product_info`
--
LOCK TABLES `product_info` WRITE;
/*!40000 ALTER TABLE `product_info` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_info` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `user`
--
DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`account` varchar(255) NOT NULL,
`create_time` date NOT NULL,
`email` varchar(255) NOT NULL,
`head_photo` varchar(255) DEFAULT NULL,
`last_login_time` date DEFAULT NULL,
`password` varchar(255) NOT NULL,
`permission` varchar(255) NOT NULL,
`phone_number` varchar(255) NOT NULL,
`status` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `user`
--
LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-01-27 18:00:50
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/leebing/handgo.git
git@gitee.com:leebing/handgo.git
leebing
handgo
handgo
dev

搜索帮助