yiisoft/yii — pull request #1842 by migelsabre (2012-12-11 03:13:27+00:00)
Title: Support for MySQL BIT(M) data type proper default values

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
This patch supports only BIT(M), where M = [1..32], but on MySQL M = [1..64]