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:
Niklas 2022-05-28 00:28:13 +02:00 committed by GitHub
parent 07443bec5e
commit ad8dadad6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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', [