diff backend/doc/schema/postgresql-spatial.sql @ 7352:c6825778de1f

Merged double-precision branch.
author Sascha L. Teichmann <teichmann@intevation.de>
date Wed, 16 Oct 2013 13:03:13 +0200
parents dcc7a6c8b92c
children f4e32ac4e55c
line wrap: on
line diff
--- a/backend/doc/schema/postgresql-spatial.sql	Wed Oct 16 12:39:33 2013 +0200
+++ b/backend/doc/schema/postgresql-spatial.sql	Wed Oct 16 13:03:13 2013 +0200
@@ -123,7 +123,7 @@
     id       int PRIMARY KEY NOT NULL,
     river_id int REFERENCES rivers(id) ON DELETE CASCADE,
     name             VARCHAR(64),
-    range_id         INT REFERENCES ranges(id),
+    range_id         INT REFERENCES ranges(id) ON DELETE CASCADE,
     time_interval_id INT REFERENCES time_intervals(id),
     projection       VARCHAR(32),
     srid	     int NOT NULL,

http://dive4elements.wald.intevation.org