1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

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