1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-14 19:45:21 +02:00

[ticket/9892] Shorten login_attempt key names to avoid firebird length problems

PHPBB3-9892
This commit is contained in:
Nils Adermann 2011-06-12 11:02:30 +02:00
parent 32f37bf938
commit 6cab45b28e

View File

@ -932,9 +932,9 @@ function database_update_info()
), ),
'PRIMARY_KEY' => 'attempt_id', 'PRIMARY_KEY' => 'attempt_id',
'KEYS' => array( 'KEYS' => array(
'attempt_ip' => array('INDEX', array('attempt_ip', 'attempt_time')), 'att_ip' => array('INDEX', array('attempt_ip', 'attempt_time')),
'attempt_forwarded_for' => array('INDEX', array('attempt_forwarded_for', 'attempt_time')), 'att_for' => array('INDEX', array('attempt_forwarded_for', 'attempt_time')),
'attempt_time' => array('INDEX', array('attempt_time')), 'att_time' => array('INDEX', array('attempt_time')),
'user_id' => array('INDEX', 'user_id'), 'user_id' => array('INDEX', 'user_id'),
), ),
), ),