Cohort Members Table Schema (cohort_members)


Description

Link a user to a cohort.

cohort_members table columns

Column Type Size Nulls Auto Default Children Parents Comments
id bigint 10 null
cohortid bigint 10 0
cohort.id cohomemb_coh2_fk R
userid bigint 10 0
user.id cohomemb_use2_fk R
timeadded bigint 10 0

Table contained -1 rows

cohort_members table indexes

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

cohort_members table relationships