mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[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
This commit is contained in:
@@ -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')
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user