Laravel Pro Tips
#eloquent #timestamps
π #Laravel Tip | In some cases you don't want the updated_at field the change when updating small things. .. Did you know you could disable the timestamps while saving your data? Here is how... π₯ #laraveltip #php #code #development #details
Bert De Swaef
#eloquent #relationships #timestamps
π₯ #Laravel Tip - If you are updating a record and want to update the timestamp of the parent you can add a touches property to your child model containing the names of the relationships that should have their updated_at timestamp updated when the child model is updated:
Marian Pop πΊπ¦ Laravel Magazine
#migrations #timestamps
πΆοΈ #Laravel tip: When using timestamp() columns in Laravel Migrations, append the useCurrent() & useCurrentOnUpdate() to set timestamp columns' default value to CURRENT_TIMESTAMP #PHP #Developers
Bilal Haidar
No articles were found.