Changeset 5551

Show
Ignore:
Timestamp:
05/25/07 22:57:52 (1 year ago)
Author:
ryan
Message:

Fix schema formatting to appease dbDelta. see #4189

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/schema.php

    r5542 r5551  
    2626 parent bigint(20) NOT NULL default 0, 
    2727 count bigint(20) NOT NULL default 0, 
    28  PRIMARY KEY (term_taxonomy_id), 
    29  UNIQUE KEY (term_id,taxonomy) 
     28 PRIMARY KEY (term_taxonomy_id), 
     29 UNIQUE KEY term_id_taxonomy (term_id,taxonomy) 
    3030) $charset_collate; 
    3131CREATE TABLE $wpdb->term_relationships ( 
    3232 object_id bigint(20) NOT NULL default 0, 
    3333 term_taxonomy_id bigint(20) NOT NULL default 0, 
    34  PRIMARY KEY  (object_id, term_taxonomy_id), 
    35  KEY (term_taxonomy_id) 
     34 PRIMARY KEY  (object_id,term_taxonomy_id), 
     35 KEY term_taxonomy_id (term_taxonomy_id) 
    3636) $charset_collate; 
    3737CREATE TABLE $wpdb->comments (