Press "Enter" to skip to content

Screw the Boolean, use date fields

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.

One Comment

Leave a Reply

Your email address will not be published.