From 2b812ab21137b1aecd187d98409e9c37f40cccc4 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 --- src/Install/Console/InstallCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Install/Console/InstallCommand.php b/src/Install/Console/InstallCommand.php index 663a1e0ea..02c853921 100644 --- a/src/Install/Console/InstallCommand.php +++ b/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);