# Constraints

### 19 Foreign Key Constraints

Constraint Name | Child Column | Parent Column | Delete Rule
--- | --- | --- | ---
oa_conflicts_id2_fkey |
oa_conflicts.id2
organizations.id
| Cascade on delete
oa_conflicts_id1_fkey |
oa_conflicts.id1
organizations.id
| Cascade on delete
urls_id_fkey |
urls.id
organizations.id
| Cascade on delete
other_ids_type_fkey |
other_ids.type
id_types.val
| Restrict delete
other_ids_id_fkey |
other_ids.id
organizations.id
| Cascade on delete
journal_id_fkey |
journal.id
organizations.id
| Cascade on delete
acronyms_id_fkey |
acronyms.id
organizations.id
| Cascade on delete
oa_duplicates_oa_original_id_fkey |
oa_duplicates.oa_original_id
organizations.id
| Cascade on delete
oa_duplicates_local_id_fkey |
oa_duplicates.local_id
organizations.id
| Cascade on delete
notes_id_fkey |
notes.id
organizations.id
| Cascade on delete
relationships_id2_fkey |
relationships.id2
organizations.id
| Cascade on delete
relationships_id1_fkey |
relationships.id1
organizations.id
| Cascade on delete
organizations_country_fkey |
organizations.country
countries.val
| Restrict delete
organizations_type_fkey |
organizations.type
org_types.val
| Restrict delete
other_names_id_fkey |
other_names.id
organizations.id
| Cascade on delete
other_names_lang_fkey |
other_names.lang
languages.val
| Restrict delete
user_countries_email_fkey |
user_countries.email
users.email
| Cascade on delete
user_countries_country_fkey |
user_countries.country
countries.val
| Restrict delete
users_role_fkey |
users.role
user_roles.role
| Restrict delete

### Check Constraints

Table | Constraint Name | Constraint
--- | --- | ---