protected function registerMigrations()
    {
        $migrationsPath = __DIR__.'/../../database/migrations';

        $this->loadMigrationsFrom($migrationsPath);

        $this->publishes(
            [$migrationsPath => database_path('migrations')],
            'migrations'
        );
    }
protected function registerMigrations()
    {
        $migrationsPath = __DIR__.'/../../database/migrations';

        $this->loadMigrationsFrom($migrationsPath);

        $this->publishes(
            [$migrationsPath => database_path('migrations')],
            'migrations'
        );
    }
protected function registerMigrations ( ) { $ migrationsPath = __DIR__ . '/../../database/migrations' ; $ this -> loadMigrationsFrom ( $ migrationsPath ) ; $ this -> publishes ( [ $ migrationsPath => database_path ( 'migrations' ) ] , 'migrations' ) ; }
Register migrations to work on `php artisan migrate` command.

@return void
Register migrations to work on php artisan migrate command .