mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/14742] Reset migration_data_state before reverting
PHPBB3-14742
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user