Fix schema formatting to appease dbDelta. see #4189

git-svn-id: https://develop.svn.wordpress.org/trunk@5551 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2007-05-25 22:57:52 +00:00
parent a030294e1d
commit 4153107e1f
1 changed files with 4 additions and 4 deletions

View File

@ -25,14 +25,14 @@ CREATE TABLE $wpdb->term_taxonomy (
description longtext NOT NULL,
parent bigint(20) NOT NULL default 0,
count bigint(20) NOT NULL default 0,
PRIMARY KEY (term_taxonomy_id),
UNIQUE KEY (term_id,taxonomy)
PRIMARY KEY (term_taxonomy_id),
UNIQUE KEY term_id_taxonomy (term_id,taxonomy)
) $charset_collate;
CREATE TABLE $wpdb->term_relationships (
object_id bigint(20) NOT NULL default 0,
term_taxonomy_id bigint(20) NOT NULL default 0,
PRIMARY KEY (object_id, term_taxonomy_id),
KEY (term_taxonomy_id)
PRIMARY KEY (object_id,term_taxonomy_id),
KEY term_taxonomy_id (term_taxonomy_id)
) $charset_collate;
CREATE TABLE $wpdb->comments (
comment_ID bigint(20) unsigned NOT NULL auto_increment,