setName('db:version')
->setDescription('Show database schema version');
}
protected function execute(InputInterface $input, OutputInterface $output)
{
$output->writeln('Current version: '.DatabaseProvider::getSchemaVersion($this->container['db']).'');
$output->writeln('Last version: '.\Schema\VERSION.'');
}
}