1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 21:34:03 +00:00
laravel-tips/content/tips/name-all-timestamp-fields-using-the-action-at-convention.md
2022-02-28 12:25:21 +01:00

539 B

title tweet_id thread_slug author_username images created_at slug
Name *all* timestamp fields using the action_at convention 1498010797083009025 weekly-thread-2022-08 AshAllenDesign
https://pbs.twimg.com/media/FLy78SOXsAMRB2g.jpg
2022-02-27T19:03:00+00:00 name-all-timestamp-fields-using-the-action-at-convention

Laravel tip: Use the "{action}_at" naming convention for your DATETIME and TIMESTAMP fields.

This helps you to instantly recognise in your code when you're using a datetime field 😄

#laravel #php