mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 13:37:13 +08:00
Use a relative path to locate migrations
This commit is contained in:
parent
ce91058ab1
commit
2b812ab211
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user