diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-04 13:09:09 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-04 13:09:09 +0200 |
| commit | 1fd083b95f9ebc5ef01ee554eda43f07d12457e2 (patch) | |
| tree | ab343cc0ff19a19ebf8409f84af70a249fb04190 /model.js | |
| parent | 263e6e40c8c1d0ccabdfa0bb8347c8b1d6ea09f1 (diff) | |
| download | orm-1fd083b95f9ebc5ef01ee554eda43f07d12457e2.tar.gz orm-1fd083b95f9ebc5ef01ee554eda43f07d12457e2.zip | |
rename item use table
Diffstat (limited to 'model.js')
| -rw-r--r-- | model.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ module.exports = (seq, Seq) => { Roster = seq.import("./models/roster.js"), Participant = seq.import("./models/participant.js"), ParticipantExt = seq.import("./models/participant_ext.js"), - ParticipantItemUse = seq.import("./models/participant_item_use.js"), + ItemParticipant = seq.import("./models/item_participant.js"), Player = seq.import("./models/player.js"), PlayerExt = seq.import("./models/player_ext.js"), Item = seq.import("./models/item.js"); @@ -15,5 +15,5 @@ module.exports = (seq, Seq) => { Roster.belongsTo(Match, { foreignKey: "match_api_id", targetKey: "api_id" }); Participant.belongsTo(Roster, { foreignKey: "roster_api_id", targetKey: "api_id" }); - return {Match, Roster, Participant, ParticipantExt, ParticipantItemUse, Player, PlayerExt, Asset, Item}; + return {Match, Roster, Participant, ParticipantExt, ItemParticipant, Player, PlayerExt, Asset, Item}; }; |
