Skip to content

Commit 1f74a03

Browse files
authored
Merge pull request #418 from HarderWork/patch-1
Update 20231112807150_MigrationAddIndex.php
2 parents 95337da + f95369d commit 1f74a03

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/Migrations/20231112807150_MigrationAddIndex.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ class MigrationAddIndex extends AbstractMigration {
99
*/
1010
public function change() {
1111
// Shim: make sure this is void when a migrating with `202311128071500` instead of `20231112807150` has been run already.
12-
$result = $this->query('SELECT * FROM `queue_phinxlog` WHERE version = "202311128071500" LIMIT 1')->fetch();
12+
$result = $this->query('SELECT * FROM queue_phinxlog WHERE version = \'202311128071500\' LIMIT 1')->fetch();
1313
if ($result) {
14-
$this->execute('DELETE FROM `queue_phinxlog` WHERE version = "202311128071500" LIMIT 1');
14+
$this->execute('DELETE FROM queue_phinxlog WHERE version = \'202311128071500\' LIMIT 1');
1515

1616
return;
1717
}

0 commit comments

Comments
 (0)