Skip to content

Commit

Permalink
Slightly switch logic
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanmcclean committed Sep 16, 2023
1 parent 01ffc05 commit f4bef00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Console/Commands/GenerateMigration.php
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public function handle()
$this->generateForResource($resource);
}

if ($this->ask('Should we run your migrations?') === 'yes') {
if ($this->ask('Should we run your migrations?', 'yes') === 'yes') {
Artisan::call('migrate');
}

Expand Down

0 comments on commit f4bef00

Please sign in to comment.