From a3f0bc9bff0d4f80f82c29b75b638b669f953eb3 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Mon, 17 Aug 2015 14:57:33 +0930 Subject: [PATCH] Use a relative path to locate migrations --- framework/core/src/Install/Console/InstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Install/Console/InstallCommand.php b/framework/core/src/Install/Console/InstallCommand.php index 663a1e0ea..02c853921 100644 --- a/framework/core/src/Install/Console/InstallCommand.php +++ b/framework/core/src/Install/Console/InstallCommand.php @@ -136,7 +136,7 @@ class InstallCommand extends Command $migrator = $this->container->make('Flarum\Migrations\Migrator'); $migrator->getRepository()->createRepository(); - $migrator->run(base_path('core/migrations')); + $migrator->run(__DIR__ . '/../../../migrations'); foreach ($migrator->getNotes() as $note) { $this->info($note);