jeudi 21 juin 2018

Laravel when database columnname changed blade error

I have for example an user table with columnname email. Now in my blade(s) i retrieve this like $user->email. Now i am using it in my whole application $user->email , but when i change the database column email to e_mail (example) then my application doesn't work anymore.

Is it possible to change this at 1 place in my code and how?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2JXouKb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire