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 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

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