[Dive4elements-commits] [PATCH 1 of 2] Backend: Fixed Oracle scheme for official lines

Wald Commits scm-commit at wald.intevation.org
Tue Jun 18 17:30:35 CEST 2013


# HG changeset patch
# User Sascha L. Teichmann <teichmann at intevation.de>
# Date 1371569307 -7200
# Node ID a8b065038c0cc7c90c660fc46caf64fd06e6dd27
# Parent  4c791a458305804a5ecbcd78aa4ab93872f7743c
Backend: Fixed Oracle scheme for official lines.

diff -r 4c791a458305 -r a8b065038c0c backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Mon Jun 17 21:51:04 2013 +0200
+++ b/backend/doc/schema/oracle.sql	Tue Jun 18 17:28:27 2013 +0200
@@ -351,9 +351,8 @@
     id                  NUMBER(38,0) NOT NULL,
     wst_column_id       NUMBER(38,0) NOT NULL,
     named_main_value_id NUMBER(38,0) NOT NULL,
-
-    PRIMARY KEY (id),
-    UNIQUE (wst_column_id, named_main_value_id)
+    UNIQUE (wst_column_id, named_main_value_id),
+    PRIMARY KEY (id)
 );
 
 -- WSTS


More information about the Dive4elements-commits mailing list