fix string length
changed length from 4096 to 4000 for strings to install it on innodb 5.6 https://dev.mysql.com/doc/refman/5.6/en/innodb-limits.html
This commit is contained in:
parent
07443bec5e
commit
ad8dadad6a
@ -70,7 +70,7 @@ class Version010404Date20201030180941 extends SimpleMigrationStep {
|
||||
]);
|
||||
$table->addColumn('content', 'string', [
|
||||
'notnull' => false,
|
||||
'length' => 4096,
|
||||
'length' => 4000,
|
||||
]);
|
||||
$table->addColumn('last_modified', 'bigint', [
|
||||
'notnull' => false,
|
||||
@ -116,7 +116,7 @@ class Version010404Date20201030180941 extends SimpleMigrationStep {
|
||||
]);
|
||||
$table->addColumn('value', 'string', [
|
||||
'notnull' => true,
|
||||
'length' => 4096,
|
||||
'length' => 4000,
|
||||
'default' => '',
|
||||
]);
|
||||
$table->addColumn('last_modified', 'bigint', [
|
||||
|
Reference in New Issue
Block a user