# cohort_members

0 rows

### Description

Link a user to a cohort.

### Columns

Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments
--- | --- | --- | --- | --- | --- | --- | --- | ---
id | BIGINT | 19 |  | √ | null |  |  |
cohortid | BIGINT | 19 |  |  | 0 |  |
cohort.id | cohomemb_coh2_fkR
userid | BIGINT | 19 |  |  | 0 |  |
user.id | cohomemb_use2_fkR
timeadded | BIGINT | 19 |  |  | 0 |  |  |

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

### Relationships