Commit 2d2e5399 authored by les's avatar les

v0.17.2

parent e23d3a13
{
"name": "gancio",
"version": "0.17.1",
"version": "0.17.2",
"description": "A shared agenda for local communities",
"author": "lesion",
"scripts": {
......
......@@ -8,7 +8,8 @@ module.exports = (sequelize, DataTypes) => {
}, {})
fed_users.associate = function (models) {
fed_users.belongsTo(models.instances)
// associations can be defined here
fed_users.belongsToMany(models.user, { through: 'user_followers', as: 'followers' })
}
return fed_users
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment