From bdf4a4f5e090aece803db558639efe32e7733c28 Mon Sep 17 00:00:00 2001 From: schneefux Date: Sun, 2 Apr 2017 13:15:30 +0200 Subject: fix relationship --- model.js | 1 - 1 file changed, 1 deletion(-) diff --git a/model.js b/model.js index 51fd700..26b2cda 100644 --- a/model.js +++ b/model.js @@ -18,7 +18,6 @@ module.exports = (seq, Seq) => { Participant.belongsTo(Roster, { foreignKey: "roster_api_id", targetKey: "api_id" }); Participant.belongsTo(Player, { foreignKey: "player_api_id", targetKey: "api_id" }); ParticipantItemUse.belongsTo(Participant, { foreignKey: "participant_api_id", targetKey: "api_id" }); - ParticipantItemUse.hasOne(Item); PlayerExt.belongsTo(Player, { foreignKey: "player_api_id", targetKey: "api_id" }); return {Match, Roster, Participant, ParticipantExt, ParticipantItemUse, Player, PlayerExt, Asset, Item}; -- cgit v1.3.1