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; } }