From f092a47e6810dd9cd58c61cdd393dad3dc81e485 Mon Sep 17 00:00:00 2001 From: HaoLiang Date: Wed, 23 Jan 2019 22:51:05 +0800 Subject: [PATCH] Fix migrate:refresh bug Fixes #1682 --- system/Commands/Database/MigrateRollback.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Commands/Database/MigrateRollback.php b/system/Commands/Database/MigrateRollback.php index cfededefb74b..10475f5389aa 100644 --- a/system/Commands/Database/MigrateRollback.php +++ b/system/Commands/Database/MigrateRollback.php @@ -117,7 +117,7 @@ public function run(array $params = []) } try { - if (! $this->isAllNamespace()) + if (! $this->isAllNamespace($params)) { $namespace = $params['-n'] ?? CLI::getOption('n'); $runner->version(0, $namespace);