Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigserial | 19 | √ | nextval('quarantine_id_seq'::regclass) |
|
|
|||||
| language_code | bpchar | 3 | null |
|
|
||||||
| end_date | date | 13 | null |
|
|
||||||
| birthdate | text | 2147483647 | null |
|
|
||||||
| first_name | text | 2147483647 | null |
|
|
||||||
| last_name | text | 2147483647 | null |
|
|
||||||
| diary_number | text | 2147483647 | null |
|
|
||||||
| ssn | text | 2147483647 | √ | null |
|
|
|||||
| text | 2147483647 | √ | null |
|
|
||||||
| phone_number | text | 2147483647 | √ | null |
|
|
|||||
| created | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| updated | timestamptz | 35,6 | √ | CURRENT_TIMESTAMP |
|
|
|||||
| deleted_at | timestamptz | 35,6 | √ | null |
|
|
|||||
| start_date | date | 13 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| quarantine_pkey | Primary key | Asc | id |
| quarantine_diary_number_key | Must be unique | Asc | diary_number |
Check Constraints
| Constraint Name | Constraint |
|---|---|
| ck_quarantine_start_date_end_date | ((start_date < end_date)) |

