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:
parent
a030294e1d
commit
4153107e1f
|
@ -26,13 +26,13 @@ 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)
|
UNIQUE KEY term_id_taxonomy (term_id,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,
|
||||||
term_taxonomy_id bigint(20) NOT NULL default 0,
|
term_taxonomy_id bigint(20) NOT NULL default 0,
|
||||||
PRIMARY KEY (object_id,term_taxonomy_id),
|
PRIMARY KEY (object_id,term_taxonomy_id),
|
||||||
KEY (term_taxonomy_id)
|
KEY term_taxonomy_id (term_taxonomy_id)
|
||||||
) $charset_collate;
|
) $charset_collate;
|
||||||
CREATE TABLE $wpdb->comments (
|
CREATE TABLE $wpdb->comments (
|
||||||
comment_ID bigint(20) unsigned NOT NULL auto_increment,
|
comment_ID bigint(20) unsigned NOT NULL auto_increment,
|
||||||
|
|
Loading…
Reference in New Issue