Moodle LMS 3.9
Database
Tables
(current)
Columns
Constraints
Relationships
Orphan Tables
Anomalies
Routines
Cohort Members Table Schema (cohort_members)
Description
Link a user to a cohort.
cohort_members table columns
Related columns
Constraint
Comments
Search:
Column
Type
Size
Nulls
Auto
Default
Children
Parents
Comments
id
BIGINT
19
√
null
cohortid
BIGINT
19
0
cohort
.id
cohomemb_coh2_fk
R
userid
BIGINT
19
0
user
.id
cohomemb_use2_fk
R
timeadded
BIGINT
19
0
Showing 1 to 4 of 4 entries
Table contained
-1
rows
cohort_members table indexes
Search:
Constraint Name
Type
Sort
Column(s)
PRIMARY
Primary key
Asc
id
cohomemb_coh_ix
Performance
Asc
cohortid
cohomemb_cohuse_uix
Must be unique
Asc
/
Asc
cohortid + userid
cohomemb_use_ix
Performance
Asc
userid
Showing 1 to 4 of 4 entries
cohort_members table relationships
Close relationships within degrees of separation
One
Two degrees
One implied
Two implied