*** applying m160501_124615_create_table_eav_attribute_rules
> create table {{%eav_attribute_rules}} ...Exception 'yii\db\Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'rules' can't have a default value
The SQL being executed was: CREATE TABLE eav_attribute_rules (
id int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
attributeId int(11) DEFAULT 0,
rules text DEFAULT ''
) CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB'
I'm using mysql 5.7.22
*** applying m160501_124615_create_table_eav_attribute_rules
> create table {{%eav_attribute_rules}} ...Exception 'yii\db\Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1101 BLOB, TEXT, GEOMETRY or JSON column 'rules' can't have a default value
The SQL being executed was: CREATE TABLE
eav_attribute_rules(idint(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,attributeIdint(11) DEFAULT 0,rulestext DEFAULT '') CHARACTER SET utf8 COLLATE utf8_general_ci ENGINE=InnoDB'
I'm using mysql 5.7.22