mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/14742] Reset migration_data_state before reverting
PHPBB3-14742
This commit is contained in:
parent
463e8e4b13
commit
773f6d08a5
1 changed files with 4 additions and 1 deletions
|
@ -383,7 +383,10 @@ class migrator
|
||||||
}
|
}
|
||||||
catch (\phpbb\db\migration\exception $e)
|
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);
|
$this->revert_do($name);
|
||||||
|
|
||||||
throw $e;
|
throw $e;
|
||||||
|
|
Loading…
Add table
Reference in a new issue