src/Commands/StatusCommand.php
protected function showOldMigrations()
    {
        $old = collect($this->migrator->getRanMigrations());

        $this->output->writeln("<fg=yellow>Old migrations:\r\n</>");

        $max = 5;
        if ($old->count() > $max) {
            $this->output->writeln('<fg=yellow>...</>');

            $old = $old->take(-$max);
        }

        foreach ($old as $migration) {
            $this->output->writeln("<fg=yellow>{$migration}.php</>");
        }
    }
protected function showOldMigrations()
    {
        $old = collect($this->migrator->getRanMigrations());

        $this->output->writeln("<fg=yellow>Old migrations:\r\n</>");

        $max = 5;
        if ($old->count() > $max) {
            $this->output->writeln('<fg=yellow>...</>');

            $old = $old->take(-$max);
        }

        foreach ($old as $migration) {
            $this->output->writeln("<fg=yellow>{$migration}.php</>");
        }
    }
protected function showOldMigrations ( ) { $ old = collect ( $ this -> migrator -> getRanMigrations ( ) ) ; $ this -> output -> writeln ( "<fg=yellow>Old migrations:\r\n</>" ) ; $ max = 5 ; if ( $ old -> count ( ) > $ max ) { $ this -> output -> writeln ( '<fg=yellow>...</>' ) ; $ old = $ old -> take ( - $ max ) ; } foreach ( $ old as $ migration ) { $ this -> output -> writeln ( "<fg=yellow>{$migration}.php</>" ) ; } }
Show old migrations.

@return void
Show old migrations .