Use low level env init on migrate command

This commit is contained in:
slawkens
2025-10-24 21:12:40 +02:00
parent 13ea68cc0c
commit 07fd034fe4

View File

@@ -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';