Ticket #3900: unique_key.diff
File unique_key.diff, 1.3 KB (added by , 18 years ago) |
---|
-
wp-includes/version.php
3 3 // This holds the version number in a separate file so we can bump it without cluttering the SVN 4 4 5 5 $wp_version = '2.2-bleeding'; 6 $wp_db_version = 4 860;6 $wp_db_version = 4967; 7 7 8 8 ?> -
wp-admin/upgrade-schema.php
48 48 link_id bigint(20) NOT NULL default '0', 49 49 category_id bigint(20) NOT NULL default '0', 50 50 PRIMARY KEY (rel_id), 51 KEY link_id (link_id,category_id) 51 UNIQUE link_id (link_id,category_id), 52 UNIQUE category_id (category_id,link_id) 52 53 ) $charset_collate; 53 54 CREATE TABLE $wpdb->links ( 54 55 link_id bigint(20) NOT NULL auto_increment, … … 89 90 post_id bigint(20) NOT NULL default '0', 90 91 category_id bigint(20) NOT NULL default '0', 91 92 PRIMARY KEY (rel_id), 92 KEY post_id (post_id,category_id) 93 UNIQUE post_id (post_id,category_id), 94 UNIQUE category_id (category_id,post_id) 93 95 ) $charset_collate; 94 96 CREATE TABLE $wpdb->postmeta ( 95 97 meta_id bigint(20) NOT NULL auto_increment,