mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
Use relative path for core migrations
This commit is contained in:
@@ -64,7 +64,7 @@ class MigrateCommand extends AbstractCommand
|
|||||||
|
|
||||||
$migrator = $this->container->make('Flarum\Database\Migrator');
|
$migrator = $this->container->make('Flarum\Database\Migrator');
|
||||||
|
|
||||||
$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