Local Ld Course Table Schema (local_ld_course)


Total time spent within a course

local_ld_course table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
local_ld_course_day.ldcourseid localdcourday_ldc2_fk R
local_ld_module.ldcourseid localdmodu_ldc2_fk R
userid bigint 10 null
user.id localdcour_use2_fk R

Foreign key to the user

courseid bigint 10 null
course.id localdcour_cou2_fk R

Foreign key to the course

totaldedication bigint 10 null

Total time that user spent within the course, in seconds

Table contained -1 rows

local_ld_course table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
localdcour_cou_ix Performance Asc courseid
localdcour_use_ix Performance Asc userid
localdcour_usecou_uix Must be unique Asc/Asc userid + courseid

local_ld_course table relationships