Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments |
|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('immigration_detention_id_seq'::regclass) |
|
|
||
| immigration_detention_uuid | uuid | 2147483647 | null |
|
|
|||
| prisoner_id | varchar | 2147483647 | null |
|
|
|||
| immigration_detention_record_type | varchar | 2147483647 | null |
|
|
|||
| record_date | date | 13 | null |
|
|
|||
| home_office_reference_number | varchar | 2147483647 | √ | null |
|
|
||
| no_longer_of_interest_reason | varchar | 2147483647 | √ | null |
|
|
||
| no_longer_of_interest_comment | varchar | 2147483647 | √ | null |
|
|
||
| created_at | timestamptz | 35,6 | null |
|
|
|||
| created_by_username | varchar | 2147483647 | null |
|
|
|||
| created_prison | varchar | 2147483647 | √ | null |
|
|
||
| updated_at | timestamptz | 35,6 | √ | null |
|
|
||
| updated_by | varchar | 2147483647 | √ | null |
|
|
||
| updated_prison | varchar | 2147483647 | √ | null |
|
|
||
| source | varchar | 2147483647 | null |
|
|
|||
| court_appearance_uuid | uuid | 2147483647 | √ | null |
|
|
||
| status_id | varchar | 2147483647 | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| immigration_detention_pkey | Primary key | Asc | id |
| idx_recall_unique_identifier | Must be unique | Asc | immigration_detention_uuid |