You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't include the prefix here. The column type is clear that there are only two possible values - true and false - so I would call the column admin or enabled or whatever.
Okay, but date columns have the "date" suffix which could be argued that isn't needed since it should be clear what values are possible because of the column type.
How should boolean columns be named?
Should they have any prefix or suffix such as "has", "can", "is" or should that be avoided?
Example "admin" could be "is_admin".
The text was updated successfully, but these errors were encountered: