不要怂,就是干,撸起袖子干!

Commit 56637bbb by laggingreflex

typo in post model options example

1 parent 673a59bd
Showing with 1 additions and 1 deletions
...@@ -77,7 +77,7 @@ var sequelize = new Sequelize('connectionUri', { ...@@ -77,7 +77,7 @@ var sequelize = new Sequelize('connectionUri', {
}); });
var User = sequelize.define('user', {}); // timestamps is false by default var User = sequelize.define('user', {}); // timestamps is false by default
var Post = sequelize.define('user', {}, { var Post = sequelize.define('post', {}, {
timestamps: true // timestamps will now be true timestamps: true // timestamps will now be true
}); });
``` ```
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!