2: Course Model
In this lesson, you will work through Course Model as part of The ultimate guide to creating a course platform with Vue 3 & Filament 3.
Caption excerpt: All right, so let's create the course model for this video. So let's start out with just creating a model called course with migrations added to it. And you wanna have to create courses table. And let's make sure that we have a string, which is gonna be the value of a title for the course. That is gonna be required. And then we're gonna have a slug as well, which is gonna be unique. We also want the ability to provide a description, which is gonna be a text base value here 'cause it may be longer. And I wanna make...