From bd89dc0b6de7fde44645c6c27f994a6196221d29 Mon Sep 17 00:00:00 2001 From: schneefux Date: Mon, 24 Apr 2017 15:18:39 +0200 Subject: associate p & p_s --- model.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model.js b/model.js index 1f74346..df78e92 100644 --- a/model.js +++ b/model.js @@ -43,8 +43,8 @@ module.exports = (seq, Seq) => { 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" }); */ + ParticipantStats.belongsTo(Participant, { foreignKey: "participant_api_id", "targetKey": "api_id" }); return { Match, Roster, Participant, Player, Asset, -- cgit v1.3.1