Notification service #35

Merged
bilal.catic merged 26 commits from notification-service into master 2019-09-30 16:23:40 +02:00
Showing only changes of commit 4b5548aa96 - Show all commits

View File

@@ -45,7 +45,8 @@ module.exports = (sequelize, DataTypes) => {
SearchRequestMatch.associate = models => {
SearchRequestMatch.hasMany(models.RealEstate, {
foreignKey: "id"
foreignKey: "id",
as: "realEstates"
});
};