# Constraints

### 7 Foreign Key Constraints

Constraint Name | Child Column | Parent Column | Delete Rule
--- | --- | --- | ---
task_user_id_fk |
tasks.user_id
users.id
| Restrict delete
notes_user_id_fk |
notes.user_id
users.id
| Restrict delete
note_url_note_id_fk |
note_urls.note_id
notes.id
| Restrict delete
task_url_task_id_fk |
task_url.task_id
tasks.id
| Restrict delete
user_tasks_done_user_id_fk |
user_tasks_done.user_id
users.id
| Restrict delete
notes_created_user_id_fk |
notes_created.user_id
users.id
| Restrict delete
user_pwd_limits_user_id_fk |
user_pwd_limits.user_id
users.id
| Restrict delete

### Check Constraints

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