summaryrefslogtreecommitdiff
path: root/model.js
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-04-02 13:15:30 +0200
committerschneefux <schneefux+commit@schneefux.xyz>2017-04-02 13:15:30 +0200
commitbdf4a4f5e090aece803db558639efe32e7733c28 (patch)
treef3bdaf23aba176c51ca4b98f979f56e6a7f7276b /model.js
parentb90bbf0acc9dc501b40fe1917c7c0d90f8c46d49 (diff)
downloadorm-bdf4a4f5e090aece803db558639efe32e7733c28.tar.gz
orm-bdf4a4f5e090aece803db558639efe32e7733c28.zip
fix relationship
Diffstat (limited to 'model.js')
-rw-r--r--model.js1
1 files changed, 0 insertions, 1 deletions
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};