diff options
author | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-08-20 22:31:08 +0200 |
---|---|---|
committer | Oliver Schramm <oliver.schramm97@gmail.com> | 2016-08-20 22:31:08 +0200 |
commit | 773f6d08a5f039eb0829886a6283a7ce1d97051e (patch) | |
tree | c74e52e9149793e90d5ab1f60e358130bb88427d /phpBB/phpbb/db/migrator.php | |
parent | 463e8e4b13373f771395d21c28b1522e302adcd7 (diff) | |
download | forums-773f6d08a5f039eb0829886a6283a7ce1d97051e.tar forums-773f6d08a5f039eb0829886a6283a7ce1d97051e.tar.gz forums-773f6d08a5f039eb0829886a6283a7ce1d97051e.tar.bz2 forums-773f6d08a5f039eb0829886a6283a7ce1d97051e.tar.xz forums-773f6d08a5f039eb0829886a6283a7ce1d97051e.zip |
[ticket/14742] Reset migration_data_state before reverting
PHPBB3-14742
Diffstat (limited to 'phpBB/phpbb/db/migrator.php')
-rw-r--r-- | phpBB/phpbb/db/migrator.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/phpbb/db/migrator.php b/phpBB/phpbb/db/migrator.php index edc132e546..4c4c0a8672 100644 --- a/phpBB/phpbb/db/migrator.php +++ b/phpBB/phpbb/db/migrator.php @@ -383,7 +383,10 @@ class migrator } catch (\phpbb\db\migration\exception $e) { - // Revert the schema changes + // Reset data state and revert the schema changes + $state['migration_data_state'] = ''; + $this->set_migration_state($name, $state); + $this->revert_do($name); throw $e; |