From 34502bc28630a4ca54ac51b1fc0aee39fe608ba1 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 31 Oct 2015 18:22:03 +1030 Subject: [PATCH] Use relative path for core migrations --- framework/core/src/Update/Console/MigrateCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/core/src/Update/Console/MigrateCommand.php b/framework/core/src/Update/Console/MigrateCommand.php index af2bd9089..9638fe157 100644 --- a/framework/core/src/Update/Console/MigrateCommand.php +++ b/framework/core/src/Update/Console/MigrateCommand.php @@ -64,7 +64,7 @@ class MigrateCommand extends AbstractCommand $migrator = $this->container->make('Flarum\Database\Migrator'); - $migrator->run(base_path('core/migrations')); + $migrator->run(__DIR__.'/../../../migrations'); foreach ($migrator->getNotes() as $note) { $this->info($note);