Skip to content

Commit 30fd494

Browse files
committed
fix migrate execute sql
1 parent c7ff3d9 commit 30fd494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Model/Logic/MigrateLogic.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ private function runMigration(Builder $schema, string $migrateName, string $meth
567567
$migration->{$method}();
568568
if (method_exists($migration, 'getWaitExecuteSql')) {
569569
foreach ($migration->getWaitExecuteSql() as $statement) {
570-
$schema->getConnection()->statement($statement);
570+
$schema->getConnection()->unprepared($statement);
571571
}
572572
}
573573
};

0 commit comments

Comments
 (0)