Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | uuid | 2147483647 | public.gen_random_uuid() |
|
|
||||||
| remind_on | date | 13 | null |
|
|
||||||
| status | varchar | 2147483647 | null |
|
|
||||||
| message | varchar | 2147483647 | null |
|
|
||||||
| experiment_id | uuid | 2147483647 | √ | null |
|
|
|||||
| reminder_template_id | uuid | 2147483647 | √ | null |
|
|
|||||
| patient_id | uuid | 2147483647 | null |
|
|
||||||
| deleted_at | timestamp | 29,6 | √ | null |
|
|
|||||
| created_at | timestamp | 29,6 | null |
|
|
||||||
| updated_at | timestamp | 29,6 | null |
|
|
||||||
| subject_type | varchar | 2147483647 | √ | null |
|
|
|||||
| subject_id | uuid | 2147483647 | √ | null |
|
|
|||||
| purpose | varchar | 2147483647 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| notifications_pkey | Primary key | Asc | id |
| index_notifications_on_experiment_id | Performance | Asc | experiment_id |
| index_notifications_on_patient_id | Performance | Asc | patient_id |
| index_notifications_on_reminder_template_id | Performance | Asc | reminder_template_id |
| index_notifications_on_subject_type_and_subject_id | Performance | Asc/Asc | subject_type + subject_id |

