mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 12:07:23 +08:00
run migrate --force
This commit is contained in:
@@ -547,9 +547,8 @@ class Install
|
|||||||
$command = "php " . ROOT_PATH . "artisan migrate";
|
$command = "php " . ROOT_PATH . "artisan migrate";
|
||||||
if (!is_null($path)) {
|
if (!is_null($path)) {
|
||||||
$command .= " --path=$path";
|
$command .= " --path=$path";
|
||||||
} else {
|
|
||||||
$command .= " --force";
|
|
||||||
}
|
}
|
||||||
|
$command .= " --force";
|
||||||
$this->executeCommand($command);
|
$this->executeCommand($command);
|
||||||
$this->doLog("[MIGRATE] success.");
|
$this->doLog("[MIGRATE] success.");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user