diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-02 13:15:30 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-04-02 13:15:30 +0200 |
| commit | bdf4a4f5e090aece803db558639efe32e7733c28 (patch) | |
| tree | f3bdaf23aba176c51ca4b98f979f56e6a7f7276b /model.js | |
| parent | b90bbf0acc9dc501b40fe1917c7c0d90f8c46d49 (diff) | |
| download | orm-bdf4a4f5e090aece803db558639efe32e7733c28.tar.gz orm-bdf4a4f5e090aece803db558639efe32e7733c28.zip | |
fix relationship
Diffstat (limited to 'model.js')
| -rw-r--r-- | model.js | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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}; |
