[Dive4elements-commits] [PATCH] Schema change: remove UNIQUE-constraint which allows importing cross sections only from PRF
Wald Commits
scm-commit at wald.intevation.org
Fri May 31 17:24:26 CEST 2013
# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1370013862 -7200
# Node ID 6cdb3ee687a98eaabdfe508acf37b8a9a1ae9f6c
# Parent a8adf19fbde331e60c3ccd0198650a59ddb2561f
Schema change: remove UNIQUE-constraint which allows importing cross sections only from PRF
diff -r a8adf19fbde3 -r 6cdb3ee687a9 backend/doc/schema/oracle.sql
--- a/backend/doc/schema/oracle.sql Fri May 31 16:38:57 2013 +0200
+++ b/backend/doc/schema/oracle.sql Fri May 31 17:24:22 2013 +0200
@@ -54,7 +54,6 @@
y NUMBER(38,2) NOT NULL,
cross_section_line_id NUMBER(38,0) NOT NULL,
PRIMARY KEY (id),
- UNIQUE (cross_section_line_id, col_pos)
);
diff -r a8adf19fbde3 -r 6cdb3ee687a9 backend/doc/schema/postgresql.sql
--- a/backend/doc/schema/postgresql.sql Fri May 31 16:38:57 2013 +0200
+++ b/backend/doc/schema/postgresql.sql Fri May 31 17:24:22 2013 +0200
@@ -315,7 +315,6 @@
col_pos int NOT NULL,
x NUMERIC NOT NULL,
y NUMERIC NOT NULL,
- UNIQUE (cross_section_line_id, col_pos)
);
-- Indices for faster access of the points
More information about the Dive4elements-commits
mailing list