Open jackwangwj opened 7 years ago
Hi Jack;
BOOL and BOOLEAN are synonyms of TINYINT(1). Zero is false, anything else is true. More information can be found here:
https://dev.mysql.com/doc/refman/8.0/en/numeric-type-overview.html
The converse is not true. BOOL and BOOLEAN are synonyms for TINYINT(1), but TINYINT is not a synonym for BOOL and BOOLEAN.
'level' => $faker->boolean, but in mysql level =》tinyint