Fix installation command

This commit is contained in:
Toby Zerner 2018-09-21 11:32:46 +09:30
parent 288266d85a
commit 354babdc2e

View File

@ -249,12 +249,9 @@ class InstallCommand extends AbstractCommand
protected function runMigrations() protected function runMigrations()
{ {
$this->migrator->setOutput($this->output);
$this->migrator->getRepository()->createRepository(); $this->migrator->getRepository()->createRepository();
$this->migrator->run(__DIR__.'/../../../migrations'); $this->migrator->run(__DIR__.'/../../../migrations');
foreach ($this->migrator->getNotes() as $note) {
$this->info($note);
}
} }
protected function writeSettings() protected function writeSettings()