diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-24 13:58:31 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-24 13:58:31 +0200 |
| commit | 7c6b4e68793662a103187efca558b60f3edb25cd (patch) | |
| tree | 033e852d783972e0dce2b85b750d89406765c453 /model.js | |
| parent | 0a4bfd45517cd285cce0b5e12bd5854f03c00fa9 (diff) | |
| download | orm-7c6b4e68793662a103187efca558b60f3edb25cd.tar.gz orm-7c6b4e68793662a103187efca558b60f3edb25cd.zip | |
comment out unneeded relations
Diffstat (limited to 'model.js')
| -rw-r--r-- | model.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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, |
