mirror of
https://github.com/flarum/core.git
synced 2025-07-25 18:51:40 +02:00
Fix migrate command and generated migration namespace
This commit is contained in:
@@ -30,12 +30,12 @@ class Server extends AbstractServer
|
||||
{
|
||||
$app = $this->getApp();
|
||||
|
||||
$console = new Application('Flarum', $app::VERSION);
|
||||
$console = new Application('Flarum', $app->version());
|
||||
|
||||
$app->register('Flarum\Install\InstallServiceProvider');
|
||||
|
||||
$console->add($app->make('Flarum\Install\Console\InstallCommand'));
|
||||
$console->add($app->make('Flarum\Console\Command\UpgradeCommand'));
|
||||
$console->add($app->make('Flarum\Update\Console\MigrateCommand'));
|
||||
$console->add($app->make('Flarum\Console\Command\GenerateExtensionCommand'));
|
||||
$console->add($app->make('Flarum\Console\Command\GenerateMigrationCommand'));
|
||||
|
||||
|
Reference in New Issue
Block a user