Make WordPress Core

Changeset 5551


Ignore:
Timestamp:
05/25/2007 10:57:52 PM (17 years ago)
Author:
ryan
Message:

Fix schema formatting to appease dbDelta. see #4189

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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 (
Note: See TracChangeset for help on using the changeset viewer.