mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Add index on taxonomy. see #7415
git-svn-id: https://develop.svn.wordpress.org/trunk@10733 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -44,7 +44,8 @@ CREATE TABLE $wpdb->term_taxonomy (
|
||||
parent bigint(20) NOT NULL default 0,
|
||||
count bigint(20) NOT NULL default 0,
|
||||
PRIMARY KEY (term_taxonomy_id),
|
||||
UNIQUE KEY term_id_taxonomy (term_id,taxonomy)
|
||||
UNIQUE KEY term_id_taxonomy (term_id,taxonomy),
|
||||
KEY taxonomy (taxonomy)
|
||||
) $charset_collate;
|
||||
CREATE TABLE $wpdb->term_relationships (
|
||||
object_id bigint(20) NOT NULL default 0,
|
||||
|
||||
Reference in New Issue
Block a user