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/use-the-something-at-convention-instead-of-is-something-in-your-table-definitions.md
2021-11-19 16:10:01 +01:00

550 B
Raw Blame History

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
https://pbs.twimg.com/media/FEAG6YUXEBMceDT.jpg
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.