mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-29 02:29:21 +02:00
[ticket/14742] Reset migration_data_state before reverting
PHPBB3-14742
This commit is contained in:
parent
463e8e4b13
commit
773f6d08a5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user