2
I am on a project that is in production, and by default when we use a foreign key in eloquent we follow the following "user_id" rule for example to store user id.
Only at the bank I’m working they put this field as "id_user
" and I will always make the relationship generates a mistake saying that the field "user_id
" not found. How can I make my code understand that the user_id
is the id_user
in my bank?