Add force flag
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user