Chapters
00:00 - User Model Relationships
03:15 - Role Model
03:52 - Organization Model
06:22 - AccessLevel, Difficulty, & Status Models
08:18 - Course Model
12:20 - Module Model
13:35 - Lesson Model
14:53 - EmailHistory Model
15:30 - OrganizationInvite Model
18:15 - PasswordResetToken Model
Join The Discussion! (2 Comments)
Please sign in or sign up for free to join in on the dicussion.
aaron-ford
If we want to define single or multi column indexes for our tables, do we do that in the migrations files?
Please sign in or sign up for free to reply
tomgobich
Yeah, you can do that via a migration! There is an
index
anddropIndex
method for that. The KnexJS documentation has more info on the options these accept, which will vary depending on your database driver.Please sign in or sign up for free to reply