Skip to content
This repository was archived by the owner on May 21, 2021. It is now read-only.

Commit f686c9d

Browse files
committed
Update Build command
1 parent 261bb64 commit f686c9d

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

app/Console/Commands/BuildCommand.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,19 @@ class BuildCommand extends Command
2727
*/
2828
public function handle(): bool
2929
{
30-
$this->comment('Running application migrations');
30+
$this->comment('Running fresh application migrations');
3131

32-
$returnCode = $this->call('migrate');
32+
$returnCode = $this->call('migrate:fresh');
3333

3434
if ($returnCode !== 0) {
35-
$this->error('Unable run the application migrations');
35+
$this->error('Unable run the fresh application migrations');
3636

3737
return false;
3838
} else {
39-
$this->info('Application migrations ok');
39+
$this->info('Application fresh migrations ok');
4040
$this->line('---');
4141
}
4242

43-
4443
$this->comment('Installing Laravel Passport');
4544

4645
$returnCode = $this->callSilent('passport:install');

0 commit comments

Comments
 (0)