add cleanup increase bonus log + install migrate force

This commit is contained in:
xiaomlove
2022-03-07 00:59:10 +08:00
parent 22d22707fc
commit a56891132d
2 changed files with 7 additions and 3 deletions

View File

@@ -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));