[Dive4elements-commits] [PATCH 1 of 2] backout 6009:6ea171b6d8d2 because this was only really valid for fixations

Wald Commits scm-commit at wald.intevation.org
Mon May 13 18:23:01 CEST 2013


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1368462115 -7200
# Node ID d9a1cf0438a57180d25fb2c79944f419585f0d0d
# Parent  6ea171b6d8d2f1cddccc710a1e58d9a8a698caf6
backout 6009:6ea171b6d8d2 because this was only really valid for fixations

diff -r 6ea171b6d8d2 -r d9a1cf0438a5 backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql	Mon May 13 17:48:32 2013 +0200
+++ b/backend/doc/schema/oracle.sql	Mon May 13 18:21:55 2013 +0200
@@ -325,7 +325,7 @@
     description         VARCHAR2(255),
     name                VARCHAR2(255) NOT NULL,
     position            NUMBER(38,0) NOT NULL DEFAULT 0,
-    time_interval_id    NUMBER(38,0) NOT NULL,
+    time_interval_id    NUMBER(38,0),
     wst_id              NUMBER(38,0) NOT NULL,
     UNIQUE (wst_id, name),
     UNIQUE (wst_id, position),
diff -r 6ea171b6d8d2 -r d9a1cf0438a5 backend/doc/schema/postgresql.sql
--- a/backend/doc/schema/postgresql.sql	Mon May 13 17:48:32 2013 +0200
+++ b/backend/doc/schema/postgresql.sql	Mon May 13 18:21:55 2013 +0200
@@ -203,7 +203,7 @@
     description VARCHAR(256),
     position    int NOT NULL DEFAULT 0,
 
-    time_interval_id int NOT NULL REFERENCES time_intervals(id),
+    time_interval_id int REFERENCES time_intervals(id),
 
     UNIQUE (wst_id, name),
     UNIQUE (wst_id, position)


More information about the Dive4elements-commits mailing list