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 15:17:03 +0200
commit3768321a02a1fffe00522474576053c3c4eba1c1 (patch)
tree11d113596c45375806715434306c91b021a84303
parentc808c5ccdb092f88b5e1bc90d27c3c6d51f8a19b (diff)
downloadorm-3768321a02a1fffe00522474576053c3c4eba1c1.tar.gz
orm-3768321a02a1fffe00522474576053c3c4eba1c1.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,