Zoonk.Catalog.CourseUser (Zoonk v0.1.0-dev)
View SourceDefines the CourseUser
schema.
This schema represents the association between users and courses. It tracks which users have access to which courses and their roles.
Fields
Field Name | Type | Description |
---|---|---|
org_id | Integer | The ID of the organization this data belongs to. |
course_id | Integer | The ID of the course the user has access to. |
user_id | Integer | The ID of the user who has access to the course. |
role | Ecto.Enum | The role of the user in the course. |
inserted_at | DateTime | Timestamp when the association was created. |
updated_at | DateTime | Timestamp when the association was last updated. |