Press "Enter" to skip to content

Screw the Boolean, use date fields

Sharing is caring!

One of the best database design tip is that we need to use date field instead of Boolean fields. Boolean fields only helps us to know the state. But date field will also, let us know when the state changed.

Inspired from laravel, this has always been an motto.

It helps us take an advantage of two columns in one column.

Everything is awesome.

Be First to Comment

    Leave a Reply

    Your email address will not be published.