๐—ข๐—ป๐—ฒ ๐—ก๐˜‚๐—น๐—น๐—ฎ๐—ฏ๐—น๐—ฒ ๐—ง๐—ถ๐—บ๐—ฒ๐˜€๐˜๐—ฎ๐—บ๐—ฝ, ๐—™๐—ผ๐˜‚๐—ฟ ๐—”๐—ฐ๐—ฐ๐—ผ๐˜‚๐—ป๐˜ ๐—ฆ๐˜๐—ฎ๐˜๐—ฒ๐˜€

Stop using status columns in your Laravel user tables. You waste space and create bugs.

Use one nullable timestamp to track status. This method keeps your data clean.

Here is how it works:

You get four states with two columns. Your database stays small. Your logic stays simple.

Source: https://dev.to/nasrulhazim/one-nullable-timestamp-four-account-states-deriving-user-status-in-laravel-1d00