Need help with Bookshelf.js polymorphic relations
I have a model AccessToken which belongs to multiple models using the keyable_id and keyable_type property. I need to access access_tokens using the associated accounts. Here is what my AccessToken model looks like: module.exports = baseModel => ba...
Nov 7, 2016U