mirror of
https://github.com/flarum/framework.git
synced 2024-12-11 21:43:38 +08:00
Fix installation command
This commit is contained in:
parent
288266d85a
commit
354babdc2e
|
@ -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()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user