public function status()
    {
        $status = $this->getStatus();
        if (!$status) {
            $this->writeln('No migrations found.');

            return;
        }

        $this->writeln(' Ran?    Name ');
        $this->writeln('--------------');

        foreach ($status as $row) {
            if ($row['migrated']) {
                $mark = $this->cli->success('Y');
            } else {
                $mark = $this->cli->error('N');
            }
            $this->writeln(' ' . $mark . '       ' . $row['id']);
        }
    }