summaryrefslogtreecommitdiff
path: root/model.js
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:19:04 +0200
commit83d0887d4015279c8f9913e68ce4a5ebeaf05349 (patch)
tree5ad7166893670e5d1cc7cae16830140b09835c0c /model.js
parentb020ca14986c29146e3ba3e9f04363aea2aaae9d (diff)
downloadorm-83d0887d4015279c8f9913e68ce4a5ebeaf05349.tar.gz
orm-83d0887d4015279c8f9913e68ce4a5ebeaf05349.zip
associate p & p_s
Diffstat (limited to 'model.js')
-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,