Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('recall_sentence_id_seq'::regclass) |
|
|
Description: The unique id of the specific recall sentence. Source System: Record a Recall |
||||
| recall_sentence_uuid | uuid | 2147483647 | null |
|
|
Description: The unique id of the specific recall sentence which is displayed on the UI. Source System: Record a Recall |
|||||
| recall_id | int4 | 10 | null |
|
|
Description: The overarching recall that this specific sentence is being recalled under. Source System: Record a Recall |
|||||
| sentence_id | int4 | 10 | null |
|
|
Description: The id of the specific sentence that is being recalled. Individual sentences can be recalled multiple times. Source System: Record a Recall |
|||||
| legacy_data | jsonb | 2147483647 | √ | null |
|
|
Description: Legacy JSON to hold details for recall sentences. This is used for the bidirectional sync between NOMIS and DPS. Source System: Record a Recall |
||||
| created_at | timestamptz | 35,6 | null |
|
|
Description: The timestamp of when the recall sentence was created. Source System: Record a Recall |
|||||
| created_by_username | varchar | 2147483647 | null |
|
|
Description: The username that initially created the recall sentence. Source System: Record a Recall |
|||||
| created_prison | varchar | 2147483647 | √ | null |
|
|
|||||
| pre_recall_sentence_status | varchar | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| recall_sentence_pkey | Primary key | Asc | id |
| idx_recall_sentence_recall_id | Performance | Asc | recall_id |
| idx_recall_sentence_sentence_id | Performance | Asc | sentence_id |