AADS#38285

svn path=/Database/trunk/; revision=32388
This commit is contained in:
2017-01-16 16:13:34 +00:00
parent 71424ab323
commit 43c6e80bb9
2 changed files with 11 additions and 0 deletions

View File

@@ -175,6 +175,9 @@ CREATE_TABLE(prs_bedrijfadres, 0) (
prs_bedrijf_key
NUMBER(10)
CONSTRAINT prs_r_prs_bedrijf_key6 REFERENCES prs_bedrijf(prs_bedrijf_key) ON DELETE CASCADE,
prs_bedrijfadres_locatie_key
NUMBER(10)
CONSTRAINT prs_r_prs_bedrijfadres_locatie_key REFERENCES alg_locatie(alg_locatie_key) ON DELETE CASCADE,
prs_bedrijfadres_type /* O = order, B = Bestelling, V=Voorraadinfo, C = Contract */
VARCHAR2(1)
CONSTRAINT prs_c_prs_bedrijfadrestype CHECK (prs_bedrijfadres_type IN ('O','B','C','V')),