10 Foreign Key Constraints
Constraint Name | Child Column | Parent Column | Delete Rule | ||
---|---|---|---|---|---|
fk_email_email_type |
|
|
Restrict delete | ||
fk_authorisation_translator |
|
|
Restrict delete | ||
fk_authorisation_authorisation_basis |
|
|
Restrict delete | ||
fk_authorisation_meeting_date |
|
|
Restrict delete | ||
fk_authorisation_examination_date |
|
|
Restrict delete | ||
fk_contact_request_translator_contact_request |
|
|
Restrict delete | ||
fk_contact_request_translator_translator |
|
|
Restrict delete | ||
fk_email_statistic_email_type |
|
|
Restrict delete | ||
fk_authorisation_term_reminder_authorisation |
|
|
Restrict delete | ||
fk_authorisation_term_reminder_email |
|
|
Restrict delete |
Check Constraints
Table | Constraint Name | Constraint |
---|---|---|
authorisation | ck_authorisation_examination_date | (((((basis)::text = 'AUT'::text) AND (examination_date_id IS NOT NULL)) OR (((basis)::text <> 'AUT'::text) AND (examination_date_id IS NULL)))) |
authorisation | ck_authorisation_from_to | ((((from_lang)::text <> (to_lang)::text) AND (((from_lang)::text = ANY (ARRAY[('FI'::character varying)::text, ('SV'::character varying)::text, ('SEIN'::character varying)::text, ('SEKO'::character varying)::text, ('SEPO'::character varying)::text])) OR ((to_lang)::text = ANY (ARRAY[('FI'::character varying)::text, ('SV'::character varying)::text, ('SEIN'::character varying)::text, ('SEKO'::character varying)::text, ('SEPO'::character varying)::text]))))) |
authorisation | ck_authorisation_term_begin_date | (((term_begin_date IS NOT NULL) OR ((basis)::text = 'VIR'::text))) |
authorisation | ck_authorisation_term_end_date | (((((basis)::text <> 'VIR'::text) AND (term_end_date IS NOT NULL) AND (term_begin_date < term_end_date)) OR (((basis)::text = 'VIR'::text) AND (term_end_date IS NULL)))) |