Fix installation command

This commit is contained in:
Toby Zerner 2018-09-21 11:32:46 +09:30
parent c34fcecf03
commit 8ec0578ddf

View File

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