0(false)もしくは1(true)をデフォルト値として指定する必要があります。
例としてこちらを載せておきます。
lang
1create table example_table (
2example_bool_val boolean not null default 0
3);
4
booleanはtinyint(1)のためのエイリアスです。
以下がその根拠です。
mysql> create table example_table (
-> example_bool_val boolean not null default 0
-> );
Query OK, 0 rows affected (0.35 sec)
mysql> insert into example_table () values ();
Query OK, 1 row affected (0.00 sec)
mysql> select * from example_table;
+--------------------------+
| example_bool_val |
+--------------------------+
| 0 |
+--------------------------+
1 row in set (0.00 sec)
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。