From f9139d70b48d31444f57672d2ea8bd4b9b898d9e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 21 Aug 2024 21:42:38 -0500 Subject: [PATCH] Update NewCommand.php --- src/NewCommand.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NewCommand.php b/src/NewCommand.php index cd5c482..242295d 100644 --- a/src/NewCommand.php +++ b/src/NewCommand.php @@ -211,12 +211,14 @@ protected function execute(InputInterface $input, OutputInterface $output): int if ($database === 'sqlite') { touch($directory.'/database/database.sqlite'); } + $commands = [ trim(sprintf( $this->phpBinary().' artisan migrate %s', ! $input->isInteractive() ? '--no-interaction' : '', )), ]; + $this->runCommands($commands, $input, $output, workingPath: $directory); } }