Course Completions Table Schema (course_completions)


Description

Course completion records

course_completions table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
userid BIGINT 19 0
user.id courcompl_use_fk R
course BIGINT 19 0
course.id courcompl_cou_fk R
timeenrolled BIGINT 19 0
timestarted BIGINT 19 0
timecompleted BIGINT 19 null
reaggregate BIGINT 19 0

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_tim_ix Performance Asc timecompleted
courcomp_use_ix Performance Asc userid
courcomp_usecou_uix Must be unique Asc/Asc userid + course

course_completions table relationships