diff --git a/module/VuFind/src/VuFind/Controller/Plugin/DbUpgrade.php b/module/VuFind/src/VuFind/Controller/Plugin/DbUpgrade.php index 33b02eaef64..662270cdbec 100644 --- a/module/VuFind/src/VuFind/Controller/Plugin/DbUpgrade.php +++ b/module/VuFind/src/VuFind/Controller/Plugin/DbUpgrade.php @@ -425,7 +425,7 @@ protected function typeMatches($column, $expectedType) // If it's not a blob or a text (which don't have explicit sizes in our SQL), // we should see what the character length is, if any: - if ($type != 'blob' && $type != 'text') { + if ($type != 'blob' && $type != 'text' && $type != 'longtext') { $charLen = $column->getCharacterMaximumLength(); if ($charLen) { $type .= '(' . $charLen . ')';