summaryrefslogtreecommitdiffstats
path: root/system/plugins
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2008-05-29 19:52:11 +0200
committerDerek Jones <derek.jones@ellislab.com>2008-05-29 19:52:11 +0200
commitbd4400988922b2560975a80498404d7ecd000c0b (patch)
tree2c8630cd43f1a16700c53363578191de342fb3d4 /system/plugins
parent9e11220c2b780ca3320deae7e91a272b84c88533 (diff)
made MySQL/MySQLi forge use explicitly named KEYs, added ability to specify multi-column non-primary keys in table creation
Diffstat (limited to 'system/plugins')
-rw-r--r--system/plugins/captcha_pi.php4
1 files changed, 2 insertions, 2 deletions
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`)
)