Skip to content

Error running migrations #84

Description

@bobonov

*** 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions