getConnectionResolver(), new Filesystem); if (!$migrator->repositoryExists()) { $this->getLogger()->writeln("Run 'database-install' first!"); return; } $migrator->run(ROOT . self::MIGRATIONS); foreach ($migrator->getNotes() as $note) { $this->getLogger()->writeln($note); } } }