mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13211] Move console migrator output handler back to console folder
PHPBB3-13211
This commit is contained in:
parent
8443463006
commit
078e0c1e44
2 changed files with 3 additions and 2 deletions
|
@ -11,9 +11,10 @@
|
|||
*
|
||||
*/
|
||||
|
||||
namespace phpbb\db;
|
||||
namespace phpbb\console\command\db;
|
||||
|
||||
use phpbb\user;
|
||||
use phpbb\db\migrator_output_handler_interface;
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
class console_migrator_output_handler implements migrator_output_handler_interface
|
|
@ -57,7 +57,7 @@ class migrate extends \phpbb\console\command\command
|
|||
|
||||
protected function execute(InputInterface $input, OutputInterface $output)
|
||||
{
|
||||
$this->migrator->set_output_handler(new \phpbb\db\log_wrapper_migrator_output_handler($this->user, new \phpbb\db\console_migrator_output_handler($this->user, $output), $this->phpbb_root_path . 'store/migrations_' . time() . '.log'));
|
||||
$this->migrator->set_output_handler(new \phpbb\db\log_wrapper_migrator_output_handler($this->user, new console_migrator_output_handler($this->user, $output), $this->phpbb_root_path . 'store/migrations_' . time() . '.log'));
|
||||
|
||||
$this->migrator->create_migrations_table();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue