We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 95337da + f95369d commit 1f74a03Copy full SHA for 1f74a03
config/Migrations/20231112807150_MigrationAddIndex.php
@@ -9,9 +9,9 @@ class MigrationAddIndex extends AbstractMigration {
9
*/
10
public function change() {
11
// 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();
+ $result = $this->query('SELECT * FROM queue_phinxlog WHERE version = \'202311128071500\' LIMIT 1')->fetch();
13
if ($result) {
14
- $this->execute('DELETE FROM `queue_phinxlog` WHERE version = "202311128071500" LIMIT 1');
+ $this->execute('DELETE FROM queue_phinxlog WHERE version = \'202311128071500\' LIMIT 1');
15
16
return;
17
}
0 commit comments