/*
SQLyog Enterprise - MySQL GUI v6.14
MySQL - 5.5.49 : Database - glgl
*********************************************************************
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

create database if not exists `glgl`;

USE `glgl`;

/*!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' */;

/*Table structure for table `history` */

DROP TABLE IF EXISTS `history`;

CREATE TABLE `history` (
  `uniquekey` char(50) NOT NULL,
  `url` char(100) DEFAULT NULL,
  `title` char(100) DEFAULT NULL,
  `leibie` char(20) DEFAULT NULL,
  `imageurl` char(150) DEFAULT NULL,
  `time` char(20) DEFAULT NULL,
  `account` char(20) DEFAULT NULL,
  PRIMARY KEY (`uniquekey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*Data for the table `history` */

insert  into `history`(`uniquekey`,`url`,`title`,`leibie`,`imageurl`,`time`,`account`) values ('jiaotong02','https://m.mafengwo.cn/gl/catalog/index?id=289&catalog_id=957','出租车','交通住宿','https://img1.qunarzz.com/travel/d8/1703/30/42823b7086545bb5.jpg_r_326x190x70_3a66727c.jpg','2019-05-08 22:28:43','fly'),('xingcheng02','https://touch.go.qunar.com/feature/14257','让时光漫步，醉心山水五日游','行程推荐','https://img1.qunarzz.com/travel/d8/1703/30/42823b7086545bb5.jpg_r_326x190x70_3a66727c.jpg','2019-05-08 22:28:51','fly');

/*Table structure for table `shouye` */

DROP TABLE IF EXISTS `shouye`;

CREATE TABLE `shouye` (
  `uniquekey` char(30) NOT NULL,
  `url` char(50) DEFAULT NULL,
  `title` char(20) DEFAULT NULL,
  `leibie` char(20) DEFAULT NULL,
  `imageurl` char(100) DEFAULT NULL,
  PRIMARY KEY (`uniquekey`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*Data for the table `shouye` */

insert  into `shouye`(`uniquekey`,`url`,`title`,`leibie`,`imageurl`) values ('001','www',NULL,'www','www'),('002','www','www','www','www'),('003','www','www','www','www'),('004','www','www','www','www'),('005','www','www','www','www');

/*Table structure for table `user` */

DROP TABLE IF EXISTS `user`;

CREATE TABLE `user` (
  `logname` char(20) NOT NULL,
  `password` char(100) DEFAULT NULL,
  PRIMARY KEY (`logname`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*Data for the table `user` */

insert  into `user`(`logname`,`password`) values ('fly','d0970714757783e6cf17b26fb8e2298f');

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
