mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 13:24:03 +00:00
parent
1a53831d4d
commit
7492f1b9cf
11 changed files with 113 additions and 1 deletions
|
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
title: 'Name *all* timestamp fields using the action_at convention'
|
||||
tweet_id: '1498010797083009025'
|
||||
thread_slug: weekly-thread-2022-08
|
||||
author_username: AshAllenDesign
|
||||
images:
|
||||
- 'https://pbs.twimg.com/media/FLy78SOXsAMRB2g.jpg'
|
||||
created_at: 2022-02-27T19:03:00+00:00
|
||||
slug: 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue