yiisoft/yii — pull request #1838 by migelsabre (2012-12-10 10:25:35+00:00)
Title: Update framework/db/schema/mysql/CMysqlColumnSchema.php

CMysqlColumnSchema: support for MySQL BIT(M) data type proper default values.
For example, MySQL (MariaDB) return default value as "b'1'" string, not as "1", so, this case should be considered especially. See also http://dev.mysql.com/doc/refman/5.0/en/bit-type.html