diff --git a/lib/Migration/Version400503Date20221101033144.php b/lib/Migration/Version400503Date20221101033144.php index dc20d4a5..33a412da 100644 --- a/lib/Migration/Version400503Date20221101033144.php +++ b/lib/Migration/Version400503Date20221101033144.php @@ -81,6 +81,6 @@ class Version400503Date20221101033144 extends SimpleMigrationStep public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { // Update oc_memories to set objectid equal to fileid for all rows - $this->dbc->executeQuery('UPDATE *PREFIX*memories SET objectid = CAST(fileid AS CHAR)'); + $this->dbc->executeQuery('UPDATE *PREFIX*memories SET objectid = CAST(fileid AS CHAR(64))'); } }