Add force flag

This commit is contained in:
2021-02-04 10:21:06 +03:00
parent b736d4f105
commit 75b89d296d

View File

@@ -10,8 +10,12 @@ class HRCInstall extends HRCCommand implements HRCCommandInterface
public function command($input, $output = null)
{
Artisan::call('migrate');
Artisan::call('db:seed');
Artisan::call('migrate', [
'--force' => true,
]);
Artisan::call('db:seed', [
'--force' => true,
]);
return [
'status' => 'success'