[ticket/12368] Always clean the cache prior to run the migrations

PHPBB3-12368
This commit is contained in:
Tristan Darricau 2014-10-05 12:25:14 +02:00
parent 682527f509
commit bda6879305

View file

@ -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())