summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-24 15:18:39 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-24 15:18:39 +0200
commitbd89dc0b6de7fde44645c6c27f994a6196221d29 (patch)
tree5118f99967117941e9860296413d940d721747f8
parentf50fa763571e94cd8892e3f11fbf90d640cb8223 (diff)
downloadorm-bd89dc0b6de7fde44645c6c27f994a6196221d29.tar.gz
orm-bd89dc0b6de7fde44645c6c27f994a6196221d29.zip
associate p & p_srelease/2.1.0
-rw-r--r--model.js2
1 files changed, 1 insertions, 1 deletions
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,