Drop autoload index from schema. Tweak key layout to satisdy dbDelta. Props nacin. fixes #11322 #2699

git-svn-id: https://develop.svn.wordpress.org/trunk@12329 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2009-12-07 13:57:18 +00:00
parent d8e1e13b43
commit ca305e593f
2 changed files with 2 additions and 3 deletions

View File

@ -109,8 +109,7 @@ CREATE TABLE $wpdb->options (
option_value longtext NOT NULL,
autoload varchar(20) NOT NULL default 'yes',
PRIMARY KEY (option_id),
UNIQUE option_name (option_name),
UNIQUE autoloaded_options (autoload, option_name)
UNIQUE KEY option_name (option_name)
) $charset_collate;
CREATE TABLE $wpdb->postmeta (
meta_id bigint(20) unsigned NOT NULL auto_increment,

View File

@ -15,7 +15,7 @@ $wp_version = '2.9-beta-2';
*
* @global int $wp_db_version
*/
$wp_db_version = 12217;
$wp_db_version = 12329;
/**
* Holds the TinyMCE version