protected function migrate($name)
    {
        $module = $this->module->findOrFail($name);
        
        $this->call('migrate', [
            '--path' => $this->getPath($module),
            '--database' => $this->option('database'),
            '--pretend' => $this->option('pretend'),
            '--force' => $this->option('force'),
        ]);

        if ($this->option('seed')) {
            $this->call('module:seed', ['module' => $name]);
        }
    }
protected function migrate($name)
    {
        $module = $this->module->findOrFail($name);
        
        $this->call('migrate', [
            '--path' => $this->getPath($module),
            '--database' => $this->option('database'),
            '--pretend' => $this->option('pretend'),
            '--force' => $this->option('force'),
        ]);

        if ($this->option('seed')) {
            $this->call('module:seed', ['module' => $name]);
        }
    }
protected function migrate ( $ name ) { $ module = $ this -> module -> findOrFail ( $ name ) ; $ this -> call ( 'migrate' , [ '--path' => $ this -> getPath ( $ module ) , '--database' => $ this -> option ( 'database' ) , '--pretend' => $ this -> option ( 'pretend' ) , '--force' => $ this -> option ( 'force' ) , ] ) ; if ( $ this -> option ( 'seed' ) ) { $ this -> call ( 'module:seed' , [ 'module' => $ name ] ) ; } }
Run the migration from the specified module.

@param string $name

@return mixed
Run the migration from the specified module .