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

Commit a2a22ac8 by jessicalc

Fixed 'define' method parameter in example for building non-persistent instance

1 parent c4272fb6
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!