Mercurial > dive4elements > river
diff flys-backend/doc/schema/postgresql.sql @ 194:0f0b98ef9b04
Fixed wrong unique constraint.
flys-backend/trunk@1532 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 21 Mar 2011 10:52:33 +0000 |
parents | 249390dd24e7 |
children | c8c09e31cdb8 |
line wrap: on
line diff
--- a/flys-backend/doc/schema/postgresql.sql Mon Mar 21 10:41:47 2011 +0000 +++ b/flys-backend/doc/schema/postgresql.sql Mon Mar 21 10:52:33 2011 +0000 @@ -62,7 +62,7 @@ range_id int NOT NULL REFERENCES ranges (id), UNIQUE (name, river_id), - UNIQUE (river_id, datum) + UNIQUE (river_id, station) ); -- Type of a Hauptwert 'W', 'Q', 'D', etc.