V3 Fix sourceKey for hasMany, issue: #4258 (#6652)
* Fixes hasMany issue in #4258 added a source key field to allow the source table to have a custom foreign key that is not primary, defaults to the primary if not given * fix mistake on belongs to * More support for sourceKey in hasMnay * Add docs for sourceKey in hasMnay * Fix jslint error in has-many.test.js * Fix failing tests * Add unique index for sourceKey tests
Showing
with
91 additions
and
10 deletions
-
Please register or sign in to post a comment