Add post_parent index. fixes #7876

git-svn-id: http://svn.automattic.com/wordpress/trunk@9290 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-10-22 22:03:41 +00:00
parent 461ac5808d
commit e59d369976
2 changed files with 3 additions and 2 deletions

View File

@ -139,7 +139,8 @@ CREATE TABLE $wpdb->posts (
comment_count bigint(20) NOT NULL default '0',
PRIMARY KEY (ID),
KEY post_name (post_name),
KEY type_status_date (post_type,post_status,post_date,ID)
KEY type_status_date (post_type,post_status,post_date,ID),
KEY post_parent (post_parent)
) $charset_collate;
CREATE TABLE $wpdb->users (
ID bigint(20) unsigned NOT NULL auto_increment,

View File

@ -15,6 +15,6 @@ $wp_version = '2.7-almost-beta';
*
* @global int $wp_db_version
*/
$wp_db_version = 8989;
$wp_db_version = 9290;
?>