diff options
Diffstat (limited to 'model.js')
| -rw-r--r-- | model.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -41,6 +41,7 @@ module.exports = (seq, Seq) => { Participant.belongsTo(Hero, { foreignKey: "hero_id" }); Participant.belongsTo(Series, { foreignKey: "series_id" }); Participant.belongsTo(Role, { foreignKey: "role_id" }); + Participant.belongsTo(Region, { foreignKey: "shard_id", targetKey: "name" }); ParticipantStats.belongsTo(Participant, { foreignKey: "participant_api_id", "targetKey": "api_id" }); return { |
