Don't have a portfolio? Create one in our new workshop using React!
Join our free community Discord server here!
Learn React with us!
Get job-ready with our Career Toolbox Track's career advice, resume tips, and more 🧰
🤖 Check out all our AI content here 👀
Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
In previous steps, you added validators to your models that prevent null values, empty strings, and faulty releaseDate and runtime values from being stored in the database. And you set custom messages to appear when validation fails.
When validation fails, Sequelize throws a SequelizeValidationError showing the message. For example: