# HG changeset patch # User Tom Gottfried # Date 1460708304 -7200 # Node ID 34c04b0557ac8d5a8f42cc3ceb8e684a9a656188 # Parent 20547dfc436e65fa11995a2001610325b6057f0a Added missing UNIQUE-Constraint. diff -r 20547dfc436e -r 34c04b0557ac db_schema/lada_schema.sql --- a/db_schema/lada_schema.sql Wed Apr 13 20:34:37 2016 +0200 +++ b/db_schema/lada_schema.sql Fri Apr 15 10:18:24 2016 +0200 @@ -378,7 +378,8 @@ probeentnahme_beginn timestamp with time zone, probeentnahme_ende timestamp with time zone, mittelungsdauer bigint, - letzte_aenderung timestamp without time zone DEFAULT now() + letzte_aenderung timestamp without time zone DEFAULT now(), + UNIQUE (mst_id, hauptproben_nr) ); --