fix issue with hasMany when a custom primary key is defined
update min dependency versions
0.10.5