mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/12170] Assign schema keys in migration helper with data_depth 1
The migration helper currently drops any keys with schema changes that have the data_depth 1. This change will correctly assign the keys to the steps array without dropping the keys that might contain important info like the actual table that should be created. PHPBB3-12170
This commit is contained in:
@@ -53,7 +53,7 @@ class helper
|
||||
$steps[] = array(
|
||||
'dbtools.perform_schema_changes', array(array(
|
||||
$change_type => array(
|
||||
$value,
|
||||
(!is_int($key)) ? $key : 0 => $value,
|
||||
),
|
||||
)),
|
||||
);
|
||||
|
Reference in New Issue
Block a user