Month: September 2017

Laravel join overwriting field names

It’s a really common thing to do with databases, join a tables with an other table, but when you have two models that have a field with the same name by default one will overwrite the other!

(more…)