private function verifyMigrated()
    {
        $process = new Process('php artisan migrate:status');
        $process->run();

        if (strpos($process->getOutput(), 'No migrations found') !== false) {
            $this->comment('Running migrate command...');
            $this->call('migrate');
        }
    }
private function verifyMigrated()
    {
        $process = new Process('php artisan migrate:status');
        $process->run();

        if (strpos($process->getOutput(), 'No migrations found') !== false) {
            $this->comment('Running migrate command...');
            $this->call('migrate');
        }
    }
private function verifyMigrated ( ) { $ process = new Process ( 'php artisan migrate:status' ) ; $ process -> run ( ) ; if ( strpos ( $ process -> getOutput ( ) , 'No migrations found' ) !== false ) { $ this -> comment ( 'Running migrate command...' ) ; $ this -> call ( 'migrate' ) ; } }
Run the initial migrate command if it has not been run.
Run the initial migrate command if it has not been run .