mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-09 07:00:01 +00:00
Add index on taxonomy. see #7415
git-svn-id: http://svn.automattic.com/wordpress/trunk@10733 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
db7e77a251
commit
3c803da070
@ -44,7 +44,8 @@ CREATE TABLE $wpdb->term_taxonomy (
|
|||||||
parent bigint(20) NOT NULL default 0,
|
parent bigint(20) NOT NULL default 0,
|
||||||
count bigint(20) NOT NULL default 0,
|
count bigint(20) NOT NULL default 0,
|
||||||
PRIMARY KEY (term_taxonomy_id),
|
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;
|
) $charset_collate;
|
||||||
CREATE TABLE $wpdb->term_relationships (
|
CREATE TABLE $wpdb->term_relationships (
|
||||||
object_id bigint(20) NOT NULL default 0,
|
object_id bigint(20) NOT NULL default 0,
|
||||||
|
@ -15,6 +15,6 @@ $wp_version = '2.8-bleeding-edge';
|
|||||||
*
|
*
|
||||||
* @global int $wp_db_version
|
* @global int $wp_db_version
|
||||||
*/
|
*/
|
||||||
$wp_db_version = 10553;
|
$wp_db_version = 10733;
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user