[PATCH] Schema change: increase precision of gauges.station to be able to hold nearby gauges

Wald Commits scm-commit at wald.intevation.org
Fri Sep 13 18:29:04 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1379089741 -7200
# Branch double-precision
# Node ID 28748bb1b676dbe52057bda505bd5fa28efa684f
# Parent  dddf633fec055908c8212ca3c089df692ecdfb42
Schema change: increase precision of gauges.station to be able to hold nearby gauges.

diff -r dddf633fec05 -r 28748bb1b676 backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Thu Sep 12 21:12:59 2013 +0200
+++ b/backend/doc/schema/oracle.sql	Fri Sep 13 18:29:01 2013 +0200
@@ -122,7 +122,7 @@
     aeo                 NUMBER(38,2) NOT NULL,
     datum               NUMBER(38,2) NOT NULL, 
     name                VARCHAR2(255) NOT NULL,
-    station             NUMBER(38,2) NOT NULL,
+    station             NUMBER(38,4) NOT NULL,
     official_number     NUMBER(38,0),
     range_id            NUMBER(38,0),
     -- TODO: remove river id here because range_id references river already


More information about the Dive4elements-commits mailing list