Use relative path for core migrations

This commit is contained in:
Toby Zerner 2015-10-31 18:22:03 +10:30
parent b44ffd9f8d
commit d46316e979

View File

@ -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);