aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/console/command/db
diff options
context:
space:
mode:
authorTristan Darricau <github@nicofuma.fr>2014-10-05 12:25:14 +0200
committerTristan Darricau <github@nicofuma.fr>2014-10-05 12:25:14 +0200
commitbda68793054af20d817a81717f585de55d8dd254 (patch)
treec86562f10da2acade2077141a5cc089b10e6031e /phpBB/phpbb/console/command/db
parent682527f509325f09bc0f6d56adf8cd06598a149c (diff)
downloadforums-bda68793054af20d817a81717f585de55d8dd254.tar
forums-bda68793054af20d817a81717f585de55d8dd254.tar.gz
forums-bda68793054af20d817a81717f585de55d8dd254.tar.bz2
forums-bda68793054af20d817a81717f585de55d8dd254.tar.xz
forums-bda68793054af20d817a81717f585de55d8dd254.zip
[ticket/12368] Always clean the cache prior to run the migrations
PHPBB3-12368
Diffstat (limited to 'phpBB/phpbb/console/command/db')
-rw-r--r--phpBB/phpbb/console/command/db/migrate.php2
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 86545c237d..c760cde5b5 100644
--- a/phpBB/phpbb/console/command/db/migrate.php
+++ b/phpBB/phpbb/console/command/db/migrate.php
@@ -55,6 +55,8 @@ class migrate extends \phpbb\console\command\command
{
$this->migrator->create_migrations_table();
+ $this->cache->purge();
+
$this->load_migrations();
$orig_version = $this->config['version'];
while (!$this->migrator->finished())