I have a NOTICIA
table and I have a column ATIVO
News can be active or not if it is BOOLEAN (0 or 1) if it is ENUM .
What would be best to use BOOLEAN or ENUM ?
I have a NOTICIA
table and I have a column ATIVO
News can be active or not if it is BOOLEAN (0 or 1) if it is ENUM .
What would be best to use BOOLEAN or ENUM ?
I never suggest using BOOLEAN in tables, because it is routine to have post requirements that require more than two states. Use ENUM or even a simple INT.