Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | bigserial | 19 | √ | nextval('app_prog_completion_id_seq'::regclass) |
|
|
||||
programid | int8 | 19 | 0 |
|
|
|||||
userid | int8 | 19 | 0 |
|
|
|||||
coursesetid | int8 | 19 | 0 |
|
|
|||||
status | int2 | 5 | 0 |
|
|
|||||
timestarted | int8 | 19 | 0 |
|
|
|||||
timecreated | int8 | 19 | 0 |
|
|
|||||
timedue | int8 | 19 | 0 |
|
|
|||||
timecompleted | int8 | 19 | 0 |
|
|
|||||
organisationid | int8 | 19 | √ | null |
|
|
||||
positionid | int8 | 19 | √ | null |
|
|
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
app_progcomp_id_pk | Primary key | Asc | id |
app_progcomp_cou2_ix | Performance | Asc | coursesetid |
app_progcomp_cou_ix | Performance | Asc | coursesetid |
app_progcomp_pro2_ix | Performance | Asc | programid |
app_progcomp_pro_ix | Performance | Asc | programid |
app_progcomp_prousecou_uix | Must be unique | Asc/Asc/Asc | programid + userid + coursesetid |
app_progcomp_use2_ix | Performance | Asc | userid |
app_progcomp_use_ix | Performance | Asc | userid |