mirror of
https://github.com/archtechx/laravel-tips.git
synced 2025-12-12 05:14:04 +00:00
550 B
550 B
| title | tweet_id | thread_slug | author_username | images | created_at | slug | |
|---|---|---|---|---|---|---|---|
| Use the something_at convention instead of is_something in your table definitions | 1461703830240776197 | weekly-thread-2021-46 | alexjgarrett |
|
2021-11-19T14:32:04+00:00 | use-the-something-at-convention-instead-of-is-something-in-your-table-definitions |
Using the 'something_at' convention instead of just a boolean in Laravel models gives you visibility into when a flag was changed – like when a product went live.