mirror of
https://github.com/flarum/framework.git
synced 2025-01-19 18:12:59 +08:00
Use a relative path to locate migrations
This commit is contained in:
parent
624e4076a5
commit
a3f0bc9bff
|
@ -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…
Reference in New Issue
Block a user