Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
---|---|---|---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('prisoner_statistic_id_seq'::regclass) |
|
|
|||||
prison_statistic_id | int8 | 19 | null |
|
|
||||||
person_identifier | varchar | 7 | null |
|
|
||||||
cell_location | varchar | 64 | √ | null |
|
|
|||||
allocation_eligibility_date | date | 13 | √ | null |
|
|
|||||
policy_code | varchar | 16 | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_prisoner_statistic | Primary key | Asc | id |
uq_prisoner_statistic_person_identifier | Must be unique | Asc/Asc | prison_statistic_id + person_identifier |