Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
Well done!
You have completed Using SQL ORMs with Node.js!
You have completed Using SQL ORMs with Node.js!
Instruction
Use Options to Adjust Models
Model Level Options
Sequelize provides options to set on each model to control table and column names, timestamps and more.
To further configure a model using options, pass option properties to the model instance's "options" object –- the second argument of model.init()
.
Timestamps
For example, if you do no...