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