[ticket/10247] Remove attempt_id as primary key from database_update.php

PHPBB3-10247
This commit is contained in:
Joas Schilling 2011-07-05 23:19:39 +02:00
parent c916d49ddd
commit 0c93e92eef

View file

@ -960,7 +960,7 @@ function database_update_info()
'username' => array('VCHAR_UNI:255', 0),
'username_clean' => array('VCHAR_CI', 0),
),
'PRIMARY_KEY' => 'attempt_id',
//'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')),