protected function setupMigrations(Application $app)
    {
        $source = realpath(__DIR__.'/../database/migrations/');

        if ($app instanceof LaravelApplication && $app->runningInConsole()) {
            $this->publishes([$source => database_path('migrations')], 'migrations');
        }
    }
protected function setupMigrations(Application $app)
    {
        $source = realpath(__DIR__.'/../database/migrations/');

        if ($app instanceof LaravelApplication && $app->runningInConsole()) {
            $this->publishes([$source => database_path('migrations')], 'migrations');
        }
    }
protected function setupMigrations ( Application $ app ) { $ source = realpath ( __DIR__ . '/../database/migrations/' ) ; if ( $ app instanceof LaravelApplication && $ app -> runningInConsole ( ) ) { $ this -> publishes ( [ $ source => database_path ( 'migrations' ) ] , 'migrations' ) ; } }
Setup the migrations.

@param \Illuminate\Contracts\Container\Container $app

@return void
Setup the migrations .