user and match intermediary table column names or/and foreign key names are wrong and should be changed, so that userId is in fk_user and not fk_match