30.05.2016, 15:17
Use tinyint(1).
Documentaзгo do MySQL sobre booleans:
http://dev.mysql.com/doc/refman/5.7/...-overview.html
Documentaзгo do MySQL sobre booleans:
Quote:
These types are synonyms for TINYINT(1). A value of zero is considered false. Nonzero values are considered true: |