Skip to content

Commit

Permalink
Merge pull request #826 from tillhoerner/main
Browse files Browse the repository at this point in the history
[BUGFIX] Pass array to AbstractSchemaManager::tablesExist()
  • Loading branch information
lochmueller authored Jan 31, 2025
2 parents 3121da1 + d535cd7 commit 5e98f83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Updates/DateFieldUpdate.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ protected function updateNecessaryForTableFieldDateTimeMigration(string $tableNa
/** @var Connection $connection */
$connection = GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable($tableName);
$schemaManager = $connection->createSchemaManager();
if (!$schemaManager->tablesExist($tableName)) {
if (!$schemaManager->tablesExist([$tableName])) {
return false;
}

Expand Down

0 comments on commit 5e98f83

Please sign in to comment.