Файловый менеджер - Редактировать - /home/tuudkjt/globeasy/wp-content/plugins/reviewx/vendor/wpdrill/core/src/Commands/MigrateResetCommand.php
Назад
<?php namespace Rvx\WPDrill\Commands; use Rvx\Symfony\Component\Console\Command\Command; use Rvx\Symfony\Component\Console\Input\InputInterface; use Rvx\Symfony\Component\Console\Output\OutputInterface; use Rvx\WPDrill\DB\Migration\Migrator; class MigrateResetCommand extends BaseCommand { protected function configure() { $this->setName('db:reset')->setDescription('Run the database reset migrations')->setHelp('This command allows you to run the database migrations reset.'); } protected function execute(InputInterface $input, OutputInterface $output) : int { $migrator = new Migrator(WPDRILL_ROOT_PATH . '/database/migrations', $input, $output); $migrator->reset(); return Command::SUCCESS; } }
| ver. 1.6 |
Github
|
.
| PHP 8.1.34 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка