diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-07 18:04:39 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-07 18:04:39 +0200 |
| commit | 06d6a023df177effb6ef7ee4165f4cc5c8876916 (patch) | |
| tree | dffd6eef398d6f2051702b5d28780c5c7621d30f /model.js | |
| parent | d4380da66020f2a3d496715d14b637a868c81614 (diff) | |
| download | orm-06d6a023df177effb6ef7ee4165f4cc5c8876916.tar.gz orm-06d6a023df177effb6ef7ee4165f4cc5c8876916.zip | |
hotfix after autogeneration
Diffstat (limited to 'model.js')
| -rw-r--r-- | model.js | 17 |
1 files changed, 3 insertions, 14 deletions
@@ -16,28 +16,17 @@ module.exports = (seq, Seq) => { ItemParticipant = seq.import("./models/item_participant.js"), // data stats - ParticipantExt = seq.import("./models/participant_ext.js"), - PlayerExt = seq.import("./models/player_ext.js"), - - // stats mappings - StatsDimensions = seq.import("./models/stats_dimensions.js"), - Heros = seq.import("./models/heros.js"), - - // hero stats - HeroStats = seq.import("./models/hero_stats.js"), - HeroDimension = seq.import("./models/hero_dimension.js"); + ParticipantStats = seq.import("./models/participant_stats.js"); Roster.belongsTo(Match, { foreignKey: "match_api_id", targetKey: "api_id" }); Participant.belongsTo(Roster, { foreignKey: "roster_api_id", targetKey: "api_id" }); - Participant.belongsTo(Heros, { foreignKey: "actor", targetKey: "api_name" }); + //Participant.belongsTo(Heros, { foreignKey: "actor", targetKey: "api_name" }); return { Match, Roster, Participant, Player, Asset, Item, ItemParticipant, - ParticipantExt, PlayerExt, - StatsDimensions, Heros, - HeroStats, HeroDimension + ParticipantStats }; }; |
