Hi,
These are my tables:
members (id, mbrid, name, type, created, modified)
appearances (id, member_id, created, modified)
How to code my AppearancesTable so that the association with members is linked to mbrid
instead of id
?
$this->belongsTo('Members', [
'foreignKey' => 'member_id'
]);