protected function execute(InputInterface $input, OutputInterface $output)
 {
     $runner = new MigrationRunner($this->neptune['db'], new ConsoleLogger($output));
     $module = $this->getModuleArgument($input, $output);
     $runner->migrateLatest($module);
     $output->writeln(sprintf('Migrated <info>%s</info> to the latest version.', $module->getName()));
 }
 protected function execute(InputInterface $input, OutputInterface $output)
 {
     $runner = new MigrationRunner($this->neptune['db'], new ConsoleLogger($output));
     if ($input->getOption('force')) {
         $runner->ignoreExceptions();
     }
     foreach ($this->neptune->getModules() as $module) {
         try {
             $runner->migrateLatest($module);
             $output->writeln(sprintf('Module <info>%s</info> up to date', $module->getName()));
         } catch (MigrationNotFoundException $e) {
             //this means the module doesn't have a migrations
             //folder, so skip it
             continue;
         }
     }
 }