1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-25 04:23:38 +01:00

Merge pull request #3022 from Nicofuma/ticket/12368

[ticket/12368] Always clean the cache prior to run the migrations
This commit is contained in:
Marc Alexander 2014-10-05 15:00:40 +02:00
commit ce4cb9c917

View File

@ -55,6 +55,8 @@ class migrate extends \phpbb\console\command\command
{ {
$this->migrator->create_migrations_table(); $this->migrator->create_migrations_table();
$this->cache->purge();
$this->load_migrations(); $this->load_migrations();
$orig_version = $this->config['version']; $orig_version = $this->config['version'];
while (!$this->migrator->finished()) while (!$this->migrator->finished())