Mercurial > dive4elements > river
diff backend/doc/schema/postgresql.sql @ 6009:6ea171b6d8d2
Schema change because WST-columns without time interval are useless
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Mon, 13 May 2013 17:48:32 +0200 |
parents | 131f5f58ff7d |
children | d9a1cf0438a5 |
line wrap: on
line diff
--- a/backend/doc/schema/postgresql.sql Mon May 13 15:53:36 2013 +0200 +++ b/backend/doc/schema/postgresql.sql Mon May 13 17:48:32 2013 +0200 @@ -203,7 +203,7 @@ description VARCHAR(256), position int NOT NULL DEFAULT 0, - time_interval_id int REFERENCES time_intervals(id), + time_interval_id int NOT NULL REFERENCES time_intervals(id), UNIQUE (wst_id, name), UNIQUE (wst_id, position)