protected function showAlterations()
    {
        $alters = $this->app['schema.comparator']->getAlters();
        if ($alters) {
            $this->io->section('Tables to be altered:');

            $tableCount = count($alters);
            foreach ($alters as $tableName => $sql) {
                $this->io->comment($tableName);
                foreach ($sql as $query) {
                    $this->io->text(SqlFormatter::highlight($query));
                }

                if (--$tableCount) {
                    $this->io->writeln('');
                }
            }
        }
    }