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

git-svn-id: http://svn.automattic.com/wordpress/trunk@12329 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-12-07 13:57:18 +00:00
parent 408b217622
commit d3e30f2ff6
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