From 1fd083b95f9ebc5ef01ee554eda43f07d12457e2 Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 4 Apr 2017 13:09:09 +0200 Subject: rename item use table --- model.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'model.js') diff --git a/model.js b/model.js index 093fc66..b2a2c17 100644 --- a/model.js +++ b/model.js @@ -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}; }; -- cgit v1.3.1