[Dive4elements-commits] [PATCH] Schema change: increased precision of discharge_table_values.q to allow unique import of higher precision values

Wald Commits scm-commit at wald.intevation.org
Fri May 3 13:15:37 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1367579728 -7200
# Node ID 39cf5d4acf5d3e175eafea8edea30f62dd1d754f
# Parent  45871a108aaeb9dba33208973446497d8d524adb
Schema change: increased precision of discharge_table_values.q to allow unique import of higher precision values

diff -r 45871a108aae -r 39cf5d4acf5d backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Fri May 03 13:06:14 2013 +0200
+++ b/backend/doc/schema/oracle.sql	Fri May 03 13:15:28 2013 +0200
@@ -78,7 +78,7 @@
 
 CREATE TABLE discharge_table_values (
     id                  NUMBER(38,0) NOT NULL,
-    q                   NUMBER(38,2) NOT NULL,
+    q                   NUMBER(38,4) NOT NULL,
     w                   NUMBER(38,2) NOT NULL,
     table_id            NUMBER(38,0) NOT NULL,
     UNIQUE (table_id, q, w),


More information about the Dive4elements-commits mailing list