mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-26 06:04:16 +01:00
Use low level env init on migrate command
This commit is contained in:
@@ -9,6 +9,8 @@ use Symfony\Component\Console\Style\SymfonyStyle;
|
||||
|
||||
class MigrateCommand extends Command
|
||||
{
|
||||
use Env;
|
||||
|
||||
protected function configure(): void
|
||||
{
|
||||
$this->setName('migrate')
|
||||
@@ -17,7 +19,7 @@ class MigrateCommand extends Command
|
||||
|
||||
protected function execute(InputInterface $input, OutputInterface $output): int
|
||||
{
|
||||
require SYSTEM . 'init.php';
|
||||
$this->init();
|
||||
|
||||
$io = new SymfonyStyle($input, $output);
|
||||
require SYSTEM . 'migrate.php';
|
||||
|
||||
Reference in New Issue
Block a user