diff --git a/docs/associations.md b/docs/associations.md index d91b5da84a98..48a0563debc8 100644 --- a/docs/associations.md +++ b/docs/associations.md @@ -478,8 +478,8 @@ Subscription.hasMany(Invoice, { foreignKey: 'subscription_id' ) Because Sequelize is doing a lot of magic, you have to call `Sequelize.sync` after setting the associations! Doing so will allow you the following: ```js -Project.belongsToMany(Task) -Task.belongsToMany(Project) +Project.hasMany(Task) +Task.belongsTo(Project)   Project.create()... Task.create()...