mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
add cleanup increase bonus log + install migrate force
This commit is contained in:
@@ -572,7 +572,7 @@ class Install
|
||||
if (!WITH_LARAVEL) {
|
||||
throw new \RuntimeException('Laravel is not available.');
|
||||
}
|
||||
$command = "php " . ROOT_PATH . "artisan db:seed";
|
||||
$command = "php " . ROOT_PATH . "artisan db:seed --force";
|
||||
$result = exec($command, $output, $result_code);
|
||||
$this->doLog(sprintf('command: %s, result_code: %s, result: %s', $command, $result_code, $result));
|
||||
$this->doLog("output: " . json_encode($output));
|
||||
|
||||
Reference in New Issue
Block a user