aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-07-03 02:15:40 -0400
committerNils Adermann <naderman@naderman.de>2011-07-03 02:15:40 -0400
commitcf4b639be5a178c73224246b1232e5044b9a5738 (patch)
tree42c54f8c3fca7d8a3a0dc0d0ff6cc4347df72349 /phpBB/install/database_update.php
parentffa6f3448fdfe6d076c894231ebbd59e3b51e2ba (diff)
downloadforums-cf4b639be5a178c73224246b1232e5044b9a5738.tar
forums-cf4b639be5a178c73224246b1232e5044b9a5738.tar.gz
forums-cf4b639be5a178c73224246b1232e5044b9a5738.tar.bz2
forums-cf4b639be5a178c73224246b1232e5044b9a5738.tar.xz
forums-cf4b639be5a178c73224246b1232e5044b9a5738.zip
[ticket/10247] Remove unecessary attempt_id primary key column
The database update drops any key of the same name (potential primary key) and afterwards the column. This does not work on some of the supported DBMS and needs further changes. PHPBB3-10247
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 92bafcb32a..72eb8a6480 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -8,7 +8,7 @@
*
*/
-define('UPDATES_TO_VERSION', '3.0.9-RC3');
+define('UPDATES_TO_VERSION', '3.0.9-RC4');
// Enter any version to update from to test updates. The version within the db will not be updated.
define('DEBUG_FROM_VERSION', false);
@@ -974,6 +974,16 @@ function database_update_info()
'3.0.9-RC1' => array(),
// No changes from 3.0.9-RC2 to 3.0.9-RC3
'3.0.9-RC2' => array(),
+
+ // Changes from 3.0.9-RC-3 to 3.0.9-RC4
+ '3.0.9-RC3' => array(
+ 'drop_keys' => array(
+ LOGIN_ATTEMPT_TABLE => array('attempt_id')
+ ),
+ 'drop_columns' => array(
+ LOGIN_ATTEMPT_TABLE => array('attempt_id')
+ ),
+ ),
);
}