summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-24 13:58:31 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-24 13:58:31 +0200
commit7c6b4e68793662a103187efca558b60f3edb25cd (patch)
tree033e852d783972e0dce2b85b750d89406765c453
parent0a4bfd45517cd285cce0b5e12bd5854f03c00fa9 (diff)
downloadorm-7c6b4e68793662a103187efca558b60f3edb25cd.tar.gz
orm-7c6b4e68793662a103187efca558b60f3edb25cd.zip
comment out unneeded relations
-rw-r--r--model.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/model.js b/model.js
index 3e5e9bf..1f74346 100644
--- a/model.js
+++ b/model.js
@@ -37,12 +37,14 @@ module.exports = (seq, Seq) => {
Roster.belongsTo(Match, { foreignKey: "match_api_id", targetKey: "api_id" });
Participant.belongsTo(Roster, { foreignKey: "roster_api_id", targetKey: "api_id" });
Participant.hasMany(ParticipantStats, { as: "participant_stats", foreignKey: "participant_api_id", sourceKey: "api_id" });
+ /*
Participant.belongsTo(GameMode, { foreignKey: "game_mode_id" });
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 {
Match, Roster, Participant, Player, Asset,