I want to create a table in MySQL with a boolean column whose default value is false. But it\'s accepting NULL as default...
boolean
false
Use ENUM in MySQL for true / false it gives and accepts the true / false values without any extra code.
ALTER TABLE `itemcategory` ADD `aaa` ENUM('false', 'true') NOT NULL DEFAULT 'false'