From 177b46fcb5cf6e2075676894e5ca81423ed5f272 Mon Sep 17 00:00:00 2001 From: Paragon Initiative Enterprises Date: Mon, 17 Jan 2022 16:30:34 -0500 Subject: [PATCH] Fix order --- bin/make-tables.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/make-tables.php b/bin/make-tables.php index 0baf5f4..69d8a1d 100644 --- a/bin/make-tables.php +++ b/bin/make-tables.php @@ -97,7 +97,7 @@ $scripts = []; foreach (\glob($root . '/sql/' . $db->getDriver() . '/*.sql') as $file) { if (!empty($desiredFile)) { - if (strpos($desiredFile, $file) === false) { + if (strpos($file, $desiredFile) === false) { continue; } }