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

Commit fae459d

Browse files
committed
force it like this
1 parent 1899e21 commit fae459d

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

app/Console/Commands/ResetDemoApp.php

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ public function handle()
3535
{
3636
$service = app(AppInstallationService::class);
3737
$this->info('cleaning up');
38-
$this->call('migrate:refresh', [
39-
'force' => true
40-
]);
38+
$this->call('migrate:refresh --force');
4139
$this->call('passport:install');
4240
$this->info('Installing the app');
4341
$service->installApp([
@@ -47,9 +45,7 @@ public function handle()
4745
'password_confirmation' => 'secret123456789',
4846
]);
4947
$this->info('Seed the database');
50-
$this->call('db:seed', [
51-
'force' => true
52-
]);
48+
$this->call('db:seed --force');
5349
$this->info('Done');
5450
}
5551
}

0 commit comments

Comments
 (0)