4 ms·
Are you running out of space in your database? It just seemed like a way to needlessly complicate your database, make it difficult to query (what was email_enab
by cdmckay 11y ago
Are you running out of space in your database? It just seemed like a way to needlessly complicate your database, make it difficult to query (what was email_enabled again? the third bit?), difficult for other developers to use (now it needs a comment to understand) and difficult to constrain for data integrity.
I think that unless you're having space issues, you're better off using boolean columns.
- whalesalad 11y agoThis was somewhat of a contrived example.