Skip to content

Commit

Permalink
Merge pull request #47840 from nextcloud/backport/47640/stable29
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Sep 16, 2024
2 parents 6e576e1 + ccc27dc commit 8f86f20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/DB/Migrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ protected function applySchema(Schema $targetSchema, ?Connection $connection = n
$step = 0;
foreach ($sqls as $sql) {
$this->emit($sql, $step++, count($sqls));
$connection->executeQuery($sql);
$connection->executeStatement($sql);
}
if (!$connection->getDatabasePlatform() instanceof MySQLPlatform) {
$connection->commit();
Expand Down

0 comments on commit 8f86f20

Please sign in to comment.