mirror of
https://github.com/flarum/core.git
synced 2025-07-24 18:21:33 +02:00
Use a relative path to locate migrations
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user