Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
In this step, you will learn how to delete records with Sequelize. Once you've created an instance and have a reference to it, you can delete a record from your database using the Sequelize destroy() method.
You first need to find a record in order to delete it.
In app.js, use findByPk() to retrieve the movie instance you want to delete:
I forgot my password