aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/migrator.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/db/migrator.php')
-rw-r--r--phpBB/includes/db/migrator.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/phpBB/includes/db/migrator.php b/phpBB/includes/db/migrator.php
index f4613e3aec..4a178af468 100644
--- a/phpBB/includes/db/migrator.php
+++ b/phpBB/includes/db/migrator.php
@@ -151,7 +151,7 @@ class phpbb_db_migrator
if (!$state['migration_schema_done'])
{
- $migration->update_schema();
+ $this->apply_schema_changes($migration->update_schema());
$state['migration_schema_done'] = true;
}
else
@@ -245,4 +245,9 @@ class phpbb_db_migrator
return true;
}
+
+ function apply_schema_changes($schema_changes)
+ {
+ $this->db_tools->perform_schema_changes($schema_changes);
+ }
}