Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id | serial | 10 | √ | nextval('recall_sentence_history_id_seq'::regclass) |
|
|
|||||
| original_recall_sentence_id | int4 | 10 | null |
|
|
||||||
| recall_sentence_uuid | uuid | 2147483647 | null |
|
|
||||||
| recall_history_id | int4 | 10 | null |
|
|
||||||
| sentence_id | int4 | 10 | null |
|
|
||||||
| legacy_data | jsonb | 2147483647 | √ | null |
|
|
|||||
| created_at | timestamptz | 35,6 | null |
|
|
||||||
| created_by_username | varchar | 2147483647 | null |
|
|
||||||
| created_prison | varchar | 2147483647 | √ | null |
|
|
|||||
| history_created_at | timestamptz | 35,6 | √ | null |
|
|
|||||
| change_source | varchar | 2147483647 | 'NOMIS'::character varying |
|
|
||||||
| pre_recall_sentence_status | varchar | 2147483647 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| recall_sentence_history_pkey | Primary key | Asc | id |
| idx_rsh_recall_history_id | Performance | Asc | recall_history_id |
| idx_rsh_sentence_id | Performance | Asc | sentence_id |