diff options
author | Andreas Fischer <bantu@phpbb.com> | 2014-07-28 18:13:44 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2014-07-28 18:13:44 +0200 |
commit | e992eab4c3f39d22acacac70c95c62b942ca36ff (patch) | |
tree | cb4111d8c139694480856527ceb8aeffd5820994 /phpBB/phpbb/console/command | |
parent | d8867bb40de290a4c7377444dac0f5d07950e88a (diff) | |
parent | ae350bda4276d245a8480242a8c803a840922ece (diff) | |
download | forums-e992eab4c3f39d22acacac70c95c62b942ca36ff.tar forums-e992eab4c3f39d22acacac70c95c62b942ca36ff.tar.gz forums-e992eab4c3f39d22acacac70c95c62b942ca36ff.tar.bz2 forums-e992eab4c3f39d22acacac70c95c62b942ca36ff.tar.xz forums-e992eab4c3f39d22acacac70c95c62b942ca36ff.zip |
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
Diffstat (limited to 'phpBB/phpbb/console/command')
-rw-r--r-- | phpBB/phpbb/console/command/db/migrate.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/phpBB/phpbb/console/command/db/migrate.php b/phpBB/phpbb/console/command/db/migrate.php index bb5f83b16f..c3caae5f70 100644 --- a/phpBB/phpbb/console/command/db/migrate.php +++ b/phpBB/phpbb/console/command/db/migrate.php @@ -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()) |