Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation on position to Video model #27

Open
1 task
jmejia opened this issue Dec 3, 2018 · 0 comments
Open
1 task

Add validation on position to Video model #27

jmejia opened this issue Dec 3, 2018 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@jmejia
Copy link
Contributor

jmejia commented Dec 3, 2018

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
@jmejia jmejia added bug Something isn't working good first issue Good for newcomers labels Dec 3, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant