aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php21
1 files changed, 20 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 1f0773eeaf..6002f3e556 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -312,7 +312,26 @@ $unsigned_types = array('UINT', 'UINT:', 'USINT', 'BOOL', 'TIMESTAMP');
// Only an example, but also commented out
$database_update_info = array(
// Changes from 3.0.RC1 to the next version
-// '3.0.RC1' => array(),
+ '3.0.RC1' => array(
+ // Remove the following keys
+ 'drop_keys' => array(
+ STYLES_IMAGESET_DATA_TABLE => array(
+ 'i_id',
+ ),
+ ACL_ROLES_DATA_TABLE => array(
+ 'ath_opt_id',
+ ),
+ ),
+ // Add the following keys
+ 'add_index' => array(
+ STYLES_IMAGESET_DATA_TABLE => array(
+ 'i_d' => array('imageset_id'),
+ ),
+ ACL_ROLES_DATA_TABLE => array(
+ 'ath_opt_id' => array('auth_option_id'),
+ ),
+ ),
+ ),
);
// Determine mapping database type