1
0
Fork 0
mirror of https://github.com/archtechx/laravel-tips.git synced 2025-12-12 13:24: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

11 lines
No EOL
550 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: 'Use the something_at convention instead of is_something in your table definitions'
tweet_id: '1461703830240776197'
thread_slug: weekly-thread-2021-46
author_username: alexjgarrett
images:
- 'https://pbs.twimg.com/media/FEAG6YUXEBMceDT.jpg'
created_at: 2021-11-19T14:32:04+00:00
slug: 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.