mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +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 = $this->container->make('Flarum\Migrations\Migrator');
|
||||||
$migrator->getRepository()->createRepository();
|
$migrator->getRepository()->createRepository();
|
||||||
|
|
||||||
$migrator->run(base_path('core/migrations'));
|
$migrator->run(__DIR__ . '/../../../migrations');
|
||||||
|
|
||||||
foreach ($migrator->getNotes() as $note) {
|
foreach ($migrator->getNotes() as $note) {
|
||||||
$this->info($note);
|
$this->info($note);
|
||||||
|
Reference in New Issue
Block a user