Open mikedao opened 5 years ago
The tutorial's show page will error out if there's a video associated with the tutorial that doesn't have a position set.
position
After adding the validation, write a script that updates all records in the database with a nil value stored in the position column.
nil
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 theposition
column.