We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
install:api
1 parent a3cf850 commit c089bf1Copy full SHA for c089bf1
src/Illuminate/Foundation/Console/ApiInstallCommand.php
@@ -49,7 +49,11 @@ public function handle()
49
$this->uncommentApiRoutesFile();
50
}
51
52
- $this->components->info('API scaffolding installed. Please add the "Laravel\Sanctum\HasApiTokens" trait to your User model.');
+ if ($this->confirm('One new database migration has been published. Would you like to run all pending database migrations?', false)) {
53
+ $this->call('migrate');
54
+ }
55
+
56
+ $this->components->info('API scaffolding installed. Please add the [Laravel\Sanctum\HasApiTokens] trait to your User model.');
57
58
59
/**
0 commit comments