1 -- MySQL dump 10.13 Distrib 5.5.38, for debian-linux-gnu (x86_64)
3 -- Host: localhost Database: meteo
4 -- ------------------------------------------------------
5 -- Server version 5.5.38-0ubuntu0.14.04.1
7 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
8 /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
9 /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
10 /*!40101 SET NAMES utf8 */;
11 /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
12 /*!40103 SET TIME_ZONE='+00:00' */;
13 /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
14 /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
15 /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
16 /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
19 -- Table structure for table `sensor_types`
22 DROP TABLE IF EXISTS `sensor_types`;
23 /*!40101 SET @saved_cs_client = @@character_set_client */;
24 /*!40101 SET character_set_client = utf8 */;
25 CREATE TABLE `sensor_types` (
26 `id` int(11) NOT NULL AUTO_INCREMENT,
27 `st_name` varchar(32) CHARACTER SET utf8 NOT NULL,
28 `st_description` varchar(255) CHARACTER SET utf8 DEFAULT NULL,
30 UNIQUE KEY `st_name` (`st_name`)
31 ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=latin1;
32 /*!40101 SET character_set_client = @saved_cs_client */;
35 -- Dumping data for table `sensor_types`
38 LOCK TABLES `sensor_types` WRITE;
39 /*!40000 ALTER TABLE `sensor_types` DISABLE KEYS */;
40 INSERT INTO `sensor_types` VALUES (1,'INDOOR','Внутренний датчик влажности'),(2,'OUTDOOR','Внешний датчик температуры и влажности'),(3,'BARO','Внутренний датчик давления и температуры');
41 /*!40000 ALTER TABLE `sensor_types` ENABLE KEYS */;
43 /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
45 /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
46 /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
47 /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
48 /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
49 /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
50 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
51 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
53 -- Dump completed on 2014-09-25 14:46:53