From bda68793054af20d817a81717f585de55d8dd254 Mon Sep 17 00:00:00 2001 From: Tristan Darricau Date: Sun, 5 Oct 2014 12:25:14 +0200 Subject: [ticket/12368] Always clean the cache prior to run the migrations PHPBB3-12368 --- phpBB/phpbb/console/command/db/migrate.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'phpBB/phpbb/console/command/db/migrate.php') 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()) -- cgit v1.2.1