Skip to content
This repository was archived by the owner on Feb 18, 2023. It is now read-only.

Commit 1899e21

Browse files
committed
force?
1 parent 0a81a71 commit 1899e21

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

app/Console/Commands/ResetDemoApp.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,15 @@ public function __construct()
2828
parent::__construct();
2929
}
3030

31+
/**
32+
* Reset the demo app.
33+
*/
3134
public function handle()
3235
{
3336
$service = app(AppInstallationService::class);
3437
$this->info('cleaning up');
3538
$this->call('migrate:refresh', [
36-
'force'
39+
'force' => true
3740
]);
3841
$this->call('passport:install');
3942
$this->info('Installing the app');
@@ -44,7 +47,9 @@ public function handle()
4447
'password_confirmation' => 'secret123456789',
4548
]);
4649
$this->info('Seed the database');
47-
$this->call('db:seed');
50+
$this->call('db:seed', [
51+
'force' => true
52+
]);
4853
$this->info('Done');
4954
}
5055
}

0 commit comments

Comments
 (0)