course_completions table columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | BIGINT | 19 | √ | null |
|
|
||||
userid | BIGINT | 19 | 0 |
|
|
|||||
course | BIGINT | 19 | 0 |
|
|
|||||
organisationid | BIGINT | 19 | √ | null |
|
|
Totara organisation id from totara_hierarchy |
|||
positionid | BIGINT | 19 | √ | null |
|
|
Totara position id from totara_hierarchy |
|||
timeenrolled | BIGINT | 19 | 0 |
|
|
|||||
timestarted | BIGINT | 19 | 0 |
|
|
|||||
timecompleted | BIGINT | 19 | √ | null |
|
|
||||
reaggregate | BIGINT | 19 | 0 |
|
|
|||||
rpl | VARCHAR | 255 | √ | null |
|
|
Totara recognition of prior learning from totara_core |
|||
rplgrade | DECIMAL | 10,5 | √ | null |
|
|
Totara recognition of prior learning grade from totara_core |
|||
invalidatecache | BIT | 1 | √ | 0 |
|
|
Deprecated since Totara 10, please do not use |
|||
status | TINYINT | 3 | 0 |
|
|
Totara status from totara_core |
||||
renewalstatus | TINYINT | 3 | √ | 0 |
|
|
Totara renewal status from totara_core |
Table contained -1 rows
course_completions table indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
PRIMARY | Primary key | Asc | id |
courcomp_cou_ix | Performance | Asc | course |
courcomp_sta_ix | Performance | Asc | status |
courcomp_tim_ix | Performance | Asc | timecompleted |
courcomp_use_ix | Performance | Asc | userid |
courcomp_usecou_uix | Must be unique | Asc/Asc | userid + course |