Join our free community Discord server here!
Don't have a portfolio? Create one in our new workshop using React!
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.
So far, we've defined data relationships in our models, set one-to-many relationships using associations, created related data using our models, and added seed data. Now we're ready to create the Movie records!
Call the Movie model create() method, passing in an object literal with the desired property values:
// Add Movies to the Database