aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop
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/develop
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/develop')
-rw-r--r--phpBB/develop/create_schema_files.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index f4d89e5562..efe8837b26 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -1223,7 +1223,6 @@ function get_schema_struct()
$schema_data['phpbb_login_attempts'] = array(
'COLUMNS' => array(
- 'attempt_id' => array('UINT', NULL, 'auto_increment'),
'attempt_ip' => array('VCHAR:40', ''),
'attempt_browser' => array('VCHAR:150', ''),
'attempt_forwarded_for' => array('VCHAR:255', ''),
@@ -1232,7 +1231,6 @@ function get_schema_struct()
'username' => array('VCHAR_UNI:255', 0),
'username_clean' => array('VCHAR_CI', 0),
),
- 'PRIMARY_KEY' => 'attempt_id',
'KEYS' => array(
'att_ip' => array('INDEX', array('attempt_ip', 'attempt_time')),
'att_for' => array('INDEX', array('attempt_forwarded_for', 'attempt_time')),