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

Commit da4cb748 by Michael Rosata Committed by Sushant

docs: syntax error in associations docs (#7995)

1 parent d00f75df
Showing with 2 additions and 2 deletions
...@@ -760,8 +760,8 @@ const Address = this.sequelize.define('address', { ...@@ -760,8 +760,8 @@ const Address = this.sequelize.define('address', {
zip: Sequelize.STRING, zip: Sequelize.STRING,
}); });
const Product.User = Product.belongsTo(User); Product.User = Product.belongsTo(User);
const User.Addresses = User.hasMany(Address); User.Addresses = User.hasMany(Address);
// Also works for `hasOne` // Also works for `hasOne`
``` ```
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!