Totara Learn 12
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
Stats User Weekly Table Schema (stats_user_weekly)
Description
To accumulate weekly stats per course/user
stats_user_weekly table columns
Related columns
Constraint
Comments
Search:
Column
Type
Size
Nulls
Auto
Default
Children
Parents
Comments
id
BIGINT
19
√
null
courseid
BIGINT
19
0
course
.id
Implied Constraint
R
userid
BIGINT
19
0
user
.id
Implied Constraint
R
roleid
BIGINT
19
0
role
.id
Implied Constraint
R
timeend
BIGINT
19
0
statsreads
BIGINT
19
0
statswrites
BIGINT
19
0
stattype
VARCHAR
30
Showing 1 to 8 of 8 entries
Table contained
-1
rows
stats_user_weekly table indexes
Search:
Constraint Name
Type
Sort
Column(s)
PRIMARY
Primary key
Asc
id
statuserweek_cou_ix
Performance
Asc
courseid
statuserweek_rol_ix
Performance
Asc
roleid
statuserweek_tim_ix
Performance
Asc
timeend
statuserweek_use_ix
Performance
Asc
userid
Showing 1 to 5 of 5 entries
stats_user_weekly table relationships
Close relationships within degrees of separation
One
One implied
Two implied