From bd4400988922b2560975a80498404d7ecd000c0b Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Thu, 29 May 2008 17:52:11 +0000 Subject: made MySQL/MySQLi forge use explicitly named KEYs, added ability to specify multi-column non-primary keys in table creation --- system/plugins/captcha_pi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/plugins') diff --git a/system/plugins/captcha_pi.php b/system/plugins/captcha_pi.php index df95788ee..baa0a8dc5 100644 --- a/system/plugins/captcha_pi.php +++ b/system/plugins/captcha_pi.php @@ -92,8 +92,8 @@ Here is a table prototype: captcha_time int(10) unsigned NOT NULL, ip_address varchar(16) default '0' NOT NULL, word varchar(20) NOT NULL, - PRIMARY KEY (captcha_id), - KEY (word) + PRIMARY KEY `captcha_id` (`captcha_id`), + KEY `word` (`word`) ) -- cgit v1.2.3-24-g4f1b