From 283f020b0bfd0b349960499af9a6642d2bf86fea Mon Sep 17 00:00:00 2001 From: xiaomlove Date: Tue, 15 Feb 2022 02:55:41 +0800 Subject: [PATCH] run migrate --force --- nexus/Install/Install.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nexus/Install/Install.php b/nexus/Install/Install.php index 57d10064..3dbe863d 100644 --- a/nexus/Install/Install.php +++ b/nexus/Install/Install.php @@ -547,9 +547,8 @@ class Install $command = "php " . ROOT_PATH . "artisan migrate"; if (!is_null($path)) { $command .= " --path=$path"; - } else { - $command .= " --force"; } + $command .= " --force"; $this->executeCommand($command); $this->doLog("[MIGRATE] success."); }