X-Git-Url: https://git.rvb.name/weathermon.git/blobdiff_plain/b9870da67ab44b1dbba4a9f5467b0aeaa2fb3e4f..21260a74f42a65603317d1938fac675d5eef6635:/mysql/meteo_units.sql?ds=sidebyside diff --git a/mysql/meteo_units.sql b/mysql/meteo_units.sql index 227d044..76d81aa 100644 --- a/mysql/meteo_units.sql +++ b/mysql/meteo_units.sql @@ -1,10 +1,8 @@ -CREATE DATABASE IF NOT EXISTS `meteo` /*!40100 DEFAULT CHARACTER SET utf8 */; -USE `meteo`; --- MySQL dump 10.13 Distrib 5.5.35, for debian-linux-gnu (i686) +-- MySQL dump 10.13 Distrib 5.5.38, for debian-linux-gnu (x86_64) -- --- Host: estia Database: meteo +-- Host: localhost Database: meteo -- ------------------------------------------------------ --- Server version 5.5.35-0ubuntu0.13.10.2 +-- Server version 5.5.38-0ubuntu0.14.04.1 /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; @@ -29,6 +27,7 @@ CREATE TABLE `units` ( `name` varchar(32) CHARACTER SET utf8 NOT NULL, `name_short` varchar(8) CHARACTER SET utf8 NOT NULL, `unit_group` int(11) NOT NULL, + `prec` int(11) DEFAULT NULL, PRIMARY KEY (`id`), KEY `fk_units_group_idx` (`unit_group`), CONSTRAINT `fk_units_group` FOREIGN KEY (`unit_group`) REFERENCES `unit_groups` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION @@ -54,4 +53,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2014-03-17 20:31:43 +-- Dump completed on 2014-09-25 14:48:27