diff options
author | Derek Jones <derek.jones@ellislab.com> | 2008-05-29 19:52:11 +0200 |
---|---|---|
committer | Derek Jones <derek.jones@ellislab.com> | 2008-05-29 19:52:11 +0200 |
commit | bd4400988922b2560975a80498404d7ecd000c0b (patch) | |
tree | 2c8630cd43f1a16700c53363578191de342fb3d4 /user_guide/libraries/trackback.html | |
parent | 9e11220c2b780ca3320deae7e91a272b84c88533 (diff) |
made MySQL/MySQLi forge use explicitly named KEYs, added ability to specify multi-column non-primary keys in table creation
Diffstat (limited to 'user_guide/libraries/trackback.html')
-rw-r--r-- | user_guide/libraries/trackback.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/libraries/trackback.html b/user_guide/libraries/trackback.html index f86ccca02..4f60f5ab5 100644 --- a/user_guide/libraries/trackback.html +++ b/user_guide/libraries/trackback.html @@ -152,8 +152,8 @@ CREATE TABLE trackbacks ( blog_name varchar(100) NOT NULL,
tb_date int(10) NOT NULL,
ip_address varchar(16) NOT NULL,
- PRIMARY KEY (tb_id),
- KEY (entry_id)
+ PRIMARY KEY `tb_id` (`tb_id`),
+ KEY `entry_id` (`entry_id`)
);</textarea>
|