Mercurial > dive4elements > river
diff backend/doc/schema/oracle.sql @ 5923:131f5f58ff7d
Schema change: leave it up to AFT whether time intervals are unique per gauge but do not accept duplicate bfg_id per gauge
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 08 May 2013 13:16:29 +0200 |
parents | 4fafe8d147b2 |
children | 6ea171b6d8d2 |
line wrap: on
line diff
--- a/backend/doc/schema/oracle.sql Wed May 08 11:42:08 2013 +0200 +++ b/backend/doc/schema/oracle.sql Wed May 08 13:16:29 2013 +0200 @@ -97,7 +97,7 @@ gauge_id NUMBER(38,0) NOT NULL, time_interval_id NUMBER(38,0), PRIMARY KEY (id), - UNIQUE(gauge_id, time_interval_id, kind) + UNIQUE(gauge_id, bfg_id, kind) );