[Dive4elements-commits] [PATCH] removed unique constraint to allow one dem to be used by several rivers
Wald Commits
scm-commit at wald.intevation.org
Thu Mar 14 18:04:42 CET 2013
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1363280676 -3600
# Node ID aa407dfb99496f21e4549407aeb21a510e0f0102
# Parent ac2746f3e75fa7e8c5f2d8bbb2f02ce77dd603f5
removed unique constraint to allow one dem to be used by several rivers
diff -r ac2746f3e75f -r aa407dfb9949 flys-backend/doc/schema/oracle-spatial.sql
--- a/flys-backend/doc/schema/oracle-spatial.sql Thu Mar 14 17:42:51 2013 +0100
+++ b/flys-backend/doc/schema/oracle-spatial.sql Thu Mar 14 18:04:36 2013 +0100
@@ -161,7 +161,7 @@
border_break NUMBER(1) DEFAULT 0 NOT NULL,
resolution VARCHAR(16),
description VARCHAR(256),
- path VARCHAR(256) NOT NULL UNIQUE
+ path VARCHAR(256) NOT NULL
);
CREATE OR REPLACE TRIGGER dem_trigger BEFORE INSERT ON dem FOR each ROW
BEGIN
diff -r ac2746f3e75f -r aa407dfb9949 flys-backend/doc/schema/postgresql-spatial.sql
--- a/flys-backend/doc/schema/postgresql-spatial.sql Thu Mar 14 17:42:51 2013 +0100
+++ b/flys-backend/doc/schema/postgresql-spatial.sql Thu Mar 14 18:04:36 2013 +0100
@@ -121,7 +121,7 @@
border_break BOOLEAN NOT NULL DEFAULT FALSE,
resolution VARCHAR(16),
description VARCHAR(256),
- path VARCHAR(256) NOT NULL UNIQUE
+ path VARCHAR(256) NOT NULL
);
ALTER TABLE dem ALTER COLUMN id SET DEFAULT NEXTVAL('DEM_ID_SEQ');
More information about the Dive4elements-commits
mailing list