1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #2780 from Nicofuma/ticket/12870

[ticket/12870] phpbbcli.php db:migrate can not update from 3.0.12 to 3.1

* Nicofuma/ticket/12870:
  [ticket/12870] Add doc block
  [ticket/12870] Create the migrations table with a method in the migrator
  [ticket/12870] Add $config['version'] in phpbb_extension_manager_test
  [ticket/12870] Create the migrations table in db:migrate
This commit is contained in:
Andreas Fischer
2014-07-28 18:13:44 +02:00
5 changed files with 32 additions and 21 deletions

View File

@@ -53,6 +53,8 @@ class migrate extends \phpbb\console\command\command
protected function execute(InputInterface $input, OutputInterface $output)
{
$this->migrator->create_migrations_table();
$this->load_migrations();
$orig_version = $this->config['version'];
while (!$this->migrator->finished())