From ad8dadad6af7c1445a613e0bd937165cdffbde0e Mon Sep 17 00:00:00 2001 From: Niklas Date: Sat, 28 May 2022 00:28:13 +0200 Subject: [PATCH] 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 --- lib/Migration/Version010404Date20201030180941.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Migration/Version010404Date20201030180941.php b/lib/Migration/Version010404Date20201030180941.php index 79f1961..98b2c49 100644 --- a/lib/Migration/Version010404Date20201030180941.php +++ b/lib/Migration/Version010404Date20201030180941.php @@ -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', [