User Lastaccess Table Schema (user_lastaccess)


Description

To keep track of course page access times, used in online participants block, and participants list

user_lastaccess table columns

Column Type Size Nulls Auto Default Children Parents Comments
id BIGINT 19 null
userid BIGINT 19 0
user.id Implied Constraint R
courseid BIGINT 19 0
course.id Implied Constraint R
timeaccess BIGINT 19 0

Table contained -1 rows

user_lastaccess table indexes

Constraint Name Type Sort Column(s)
PRIMARY Primary key Asc id
userlast_cou_ix Performance Asc courseid
userlast_use_ix Performance Asc userid
userlast_usecou_uix Must be unique Asc/Asc userid + courseid

user_lastaccess table relationships