aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-06-12 11:02:30 +0200
committerNils Adermann <naderman@naderman.de>2011-06-12 11:02:30 +0200
commit6cab45b28e5c30571ce6f2961e26d268fb6542e7 (patch)
tree190df311a61411479a4c2b0e832190fbd54a9008 /phpBB/install
parent32f37bf938efe7a85b72ad2429e715269abc6fee (diff)
downloadforums-6cab45b28e5c30571ce6f2961e26d268fb6542e7.tar
forums-6cab45b28e5c30571ce6f2961e26d268fb6542e7.tar.gz
forums-6cab45b28e5c30571ce6f2961e26d268fb6542e7.tar.bz2
forums-6cab45b28e5c30571ce6f2961e26d268fb6542e7.tar.xz
forums-6cab45b28e5c30571ce6f2961e26d268fb6542e7.zip
[ticket/9892] Shorten login_attempt key names to avoid firebird length problems
PHPBB3-9892
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/database_update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index dce77a67d7..7cf3b02e9f 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -932,9 +932,9 @@ function database_update_info()
),
'PRIMARY_KEY' => 'attempt_id',
'KEYS' => array(
- 'attempt_ip' => array('INDEX', array('attempt_ip', 'attempt_time')),
- 'attempt_forwarded_for' => array('INDEX', array('attempt_forwarded_for', 'attempt_time')),
- 'attempt_time' => array('INDEX', array('attempt_time')),
+ 'att_ip' => array('INDEX', array('attempt_ip', 'attempt_time')),
+ 'att_for' => array('INDEX', array('attempt_forwarded_for', 'attempt_time')),
+ 'att_time' => array('INDEX', array('attempt_time')),
'user_id' => array('INDEX', 'user_id'),
),
),