Add validation on `position` to `Video` model
Opened this issue · 0 comments
mikedao commented
The tutorial's show page will error out if there's a video associated with the tutorial that doesn't have a position
set.
After adding the validation, write a script that updates all records in the database with a nil
value stored in the position
column.
- Tested