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

Commit bc5f945c by Jan Aagaard Meier

Merge pull request #4493 from jessicalc/edit_instances_md

[ci skip] 📝 Fixed 'define' method parameter in example for building instances
2 parents c4272fb6 a2a22ac8
Showing with 1 additions and 1 deletions
...@@ -19,7 +19,7 @@ Built instances will automatically get default values when they were defined&col ...@@ -19,7 +19,7 @@ Built instances will automatically get default values when they were defined&col
```js ```js
// first define the model // first define the model
var Task = sequelize.define('Project', { var Task = sequelize.define('Task', {
title: Sequelize.STRING, title: Sequelize.STRING,
rating: { type: Sequelize.STRING, defaultValue: 3 } rating: { type: Sequelize.STRING, defaultValue: 3 }
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!