CONSTRAINT cad_u_cad_tekening uitgebreid

svn path=/Database/trunk/; revision=6385
This commit is contained in:
Peter Feij
1998-12-02 14:35:24 +00:00
parent 3a7ef445e9
commit 0244c95dc2

View File

@@ -2,6 +2,7 @@
/* REVISIONS:
*
* 02-12-98 PF CONSTRAINT cad_u_cad_tekening verbeterd (onderscheid BIS weg)
* --- 01.40 ---
* --- 01.39 ---
* --- 01.38 ---
@@ -39,12 +40,7 @@ CREATE_TABLE(cad_tekening, NORMAAL_PRIVILEGE)
cad_tekening_geimporteerd /* geeft aan of de tekening al is geimporteerd: */
DATE /* NULL indien niet, anders datum van importeren */
DEFAULT NULLDATUM,
#ifndef BIS
CONSTRAINT cad_u_cad_tekening UNIQUE(ins_discipline_key,alg_locatie_key,alg_verdieping_key)
#endif //BIS
#ifdef BIS
CONSTRAINT cad_u_cad_tekening UNIQUE(ins_discipline_key,alg_locatie_key,cad_tekening_type)
#endif //BIS
CONSTRAINT cad_u_cad_tekening UNIQUE(alg_locatie_key,alg_verdieping_key,cad_tekening_type,ins_discipline_key)
);