diff --git a/lib/Migration/Version8000Date20230420125331.php b/lib/Migration/Version8000Date20230420125331.php index 4265f7014a..429097935a 100644 --- a/lib/Migration/Version8000Date20230420125331.php +++ b/lib/Migration/Version8000Date20230420125331.php @@ -130,7 +130,7 @@ public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array 'file_user_id' => $insert->createNamedParameter($row['file_id'], IQueryBuilder::PARAM_INT), 'mandatory' => $insert->createNamedParameter(1, IQueryBuilder::PARAM_INT), 'identifier_key' => $insert->createNamedParameter('account'), - 'identifier_value' => $insert->createNamedParameter($row['user_id'], IQueryBuilder::PARAM_INT), + 'identifier_value' => $insert->createNamedParameter($row['user_id']), 'attempts' => $insert->createNamedParameter($row['signed'] ? 1 : 0, IQueryBuilder::PARAM_INT), 'identified_at_date' => $insert->createNamedParameter($row['signed'] ? new \DateTime('@' . $row['signed']): null, IQueryBuilder::PARAM_DATE), 'last_attempt_date' => $insert->createNamedParameter($row['signed'] ? new \DateTime('@' . $row['signed']): null, IQueryBuilder::PARAM_DATE), diff --git a/lib/Migration/Version8000Date20231102215331.php b/lib/Migration/Version8000Date20231102215331.php index 9932c9c761..6a37f2ac39 100644 --- a/lib/Migration/Version8000Date20231102215331.php +++ b/lib/Migration/Version8000Date20231102215331.php @@ -140,7 +140,7 @@ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array ->values([ 'id' => $qbRestore->createNamedParameter($row['id'], IQueryBuilder::PARAM_INT), 'file_id' => $qbRestore->createNamedParameter($row['file_id'], IQueryBuilder::PARAM_INT), - 'uuid' => $qbRestore->createNamedParameter($row['uuid'], IQueryBuilder::PARAM_INT), + 'uuid' => $qbRestore->createNamedParameter($row['uuid']), 'display_name' => $qbRestore->createNamedParameter($row['display_name']), 'description' => $qbRestore->createNamedParameter($row['description']), 'created_at' => $qbRestore->createNamedParameter($row['created_at'], IQueryBuilder::PARAM_INT),