3 Star 0 Fork 0

彭立翔/SportCamps

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
autohome.sql 7.51 KB
一键复制 编辑 原始数据 按行查看 历史
彭立翔 提交于 2018-09-16 09:48 . 上传测试
-- MySQL dump 10.13 Distrib 5.7.16, for osx10.11 (x86_64)
--
-- Host: localhost Database: autohome
-- ------------------------------------------------------
-- Server version 5.7.16
/*!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 `air`
--
DROP TABLE IF EXISTS `air`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `air` (
`aid` int(11) NOT NULL AUTO_INCREMENT,
`aname` varchar(100) DEFAULT NULL,
PRIMARY KEY (`aid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `air`
--
LOCK TABLES `air` WRITE;
/*!40000 ALTER TABLE `air` DISABLE KEYS */;
INSERT INTO `air` VALUES (1,'主卧室空调'),(2,'课厅空调');
/*!40000 ALTER TABLE `air` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `curtain`
--
DROP TABLE IF EXISTS `curtain`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `curtain` (
`cid` int(11) NOT NULL AUTO_INCREMENT,
`cname` varchar(100) DEFAULT NULL,
PRIMARY KEY (`cid`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `curtain`
--
LOCK TABLES `curtain` WRITE;
/*!40000 ALTER TABLE `curtain` DISABLE KEYS */;
INSERT INTO `curtain` VALUES (1,'主卧室窗帘'),(2,'次卧室窗帘'),(3,'客厅窗帘'),(4,'厕所窗帘');
/*!40000 ALTER TABLE `curtain` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `device`
--
DROP TABLE IF EXISTS `device`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `device` (
`did` int(11) NOT NULL AUTO_INCREMENT,
`dname` varchar(50) DEFAULT NULL,
`dimg` varchar(1000) DEFAULT NULL,
`connectType` varchar(50) DEFAULT NULL,
`tip` int(11) DEFAULT NULL,
`deviceCate` int(11) DEFAULT NULL,
PRIMARY KEY (`did`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `device`
--
LOCK TABLES `device` WRITE;
/*!40000 ALTER TABLE `device` DISABLE KEYS */;
INSERT INTO `device` VALUES (1,'智能窗帘','https://ws2.sinaimg.cn/large/006tNc79ly1fsakley57uj3030030gld.jpg','WIFI',NULL,1),(6,'节能灯','https://ws2.sinaimg.cn/large/006tNc79ly1fsakl00394j3030030glg.jpg','WIFI',NULL,2),(7,'指纹门锁','https://ws1.sinaimg.cn/large/006tNc79ly1fsaklrikyij3030030mwy.jpg','WIFI',NULL,3),(9,'客厅空调','https://ws2.sinaimg.cn/large/006tNc79ly1fsakni2pttj3030030t8m.jpg','红外',NULL,4),(11,'电视','https://ws1.sinaimg.cn/large/006tNc79ly1fsal6pnui1j3030030jrb.jpg','WIFI',NULL,5),(12,NULL,NULL,NULL,NULL,22),(13,'xxx',NULL,'www',NULL,11),(14,'dwadwadaw',NULL,'dawfawfawaw',NULL,99),(15,'dwadwadaw',NULL,'dawfawfawaw',NULL,99),(16,'打火炮',NULL,'带娃大无',NULL,99),(17,'zcwzwafwa',NULL,'dwafwafa',NULL,99),(18,'fwafwaawf',NULL,'fwaafwafw',NULL,99),(19,'xxx',NULL,'zzz',NULL,99),(20,'www',NULL,'wwww',NULL,99),(21,'zzz',NULL,'zzz',NULL,99),(22,'efawafa',NULL,'fawfawa',NULL,99),(23,'dwadawd',NULL,'dwadwa',NULL,99),(24,'无敌打坦克',NULL,'dawadwadw',NULL,99),(25,'打火炮xxxx',NULL,'aaaaa',NULL,99),(26,'今天天气好',NULL,'WIFI',NULL,999),(27,'体态大冰箱',NULL,'WIFI',NULL,99);
/*!40000 ALTER TABLE `device` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lamp`
--
DROP TABLE IF EXISTS `lamp`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lamp` (
`lid` int(11) NOT NULL AUTO_INCREMENT,
`lname` varchar(100) DEFAULT NULL,
PRIMARY KEY (`lid`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lamp`
--
LOCK TABLES `lamp` WRITE;
/*!40000 ALTER TABLE `lamp` DISABLE KEYS */;
INSERT INTO `lamp` VALUES (1,'主卧室灯'),(2,'次卧室灯'),(3,'课厅灯'),(4,'厕所灯'),(5,'厨房灯');
/*!40000 ALTER TABLE `lamp` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `sceneState`
--
DROP TABLE IF EXISTS `sceneState`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sceneState` (
`sId` int(11) NOT NULL AUTO_INCREMENT,
`sname` varchar(100) DEFAULT NULL,
`scontent` varchar(5000) DEFAULT NULL,
PRIMARY KEY (`sId`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `sceneState`
--
LOCK TABLES `sceneState` WRITE;
/*!40000 ALTER TABLE `sceneState` DISABLE KEYS */;
INSERT INTO `sceneState` VALUES (2,'回家模式','所有窗帘打开;客厅灯打开,主次卧室、厕所、厨房灯关闭;客厅空调打开、调制23度。'),(3,'离家模式','所有设备全部关闭。'),(4,'会客模式','客厅灯打开,客厅空调打开。'),(5,'睡眠模式','所有窗帘关闭,所有灯关闭,电视关闭,主卧室空调打开,客厅空调关闭。\n');
/*!40000 ALTER TABLE `sceneState` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tv`
--
DROP TABLE IF EXISTS `tv`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tv` (
`tid` int(11) NOT NULL AUTO_INCREMENT,
`tname` varchar(100) DEFAULT NULL,
PRIMARY KEY (`tid`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tv`
--
LOCK TABLES `tv` WRITE;
/*!40000 ALTER TABLE `tv` DISABLE KEYS */;
INSERT INTO `tv` VALUES (1,'主卧室电视'),(2,'客厅电视');
/*!40000 ALTER TABLE `tv` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `users`
--
DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `users` (
`uid` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(100) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
PRIMARY KEY (`uid`),
UNIQUE KEY `users_username_uindex` (`username`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `users`
--
LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES (1,'1','1'),(23,'21312','dawadw'),(24,'13123456789','1');
/*!40000 ALTER TABLE `users` 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-07-10 11:43:24
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/coderplx/SportCamps.git
git@gitee.com:coderplx/SportCamps.git
coderplx
SportCamps
SportCamps
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385