Quellcode durchsuchen

Update 'tables/gauges_statistics.sql'

Para almacenar correctamente el tipo de valores que manejamos en las stats.
Maxi vor 7 Jahren
Ursprung
Commit
b7840ee0de
1 geänderte Dateien mit 8 neuen und 6 gelöschten Zeilen
  1. 8 6
      tables/gauges_statistics.sql

+ 8 - 6
tables/gauges_statistics.sql

@@ -1,8 +1,8 @@
-
-CREATE  TABLE `gauges_statistics` (
-    `timestamp` BIGINT NOT NULL ,
-    `name` VARCHAR(255) NOT NULL ,
-    `value` INT(11) NOT NULL ,
-PRIMARY KEY (`timestamp`,`name`) )$$
+-- Stadard DELIMITER is $$
+
+-- Gauges statistics table
+CREATE  TABLE `gauges_statistics` (
+    `timestamp` BIGINT NOT NULL ,
+    `name` VARCHAR(255) NOT NULL ,
+    `value` double(16,3) NOT NULL,
+PRIMARY KEY (`timestamp`,`name`) )$$