color, weigth, locale, config
This commit is contained in:
@@ -10,7 +10,7 @@ module.exports = (sequelize, DataTypes) => {
|
||||
}
|
||||
}, {})
|
||||
notification.associate = function (models) {
|
||||
notification.belongsToMany(models.event, { through: 'event_notification' })
|
||||
notification.belongsToMany(models.event, { through: models.event_notification })
|
||||
// associations can be defined here
|
||||
}
|
||||
return notification
|
||||
|
||||
Reference in New Issue
Block a user