Ticket #787: ticket787patch.diff
File ticket787patch.diff, 1.4 KB (added by , 17 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.1-alpha2'; 6 $wp_db_version = 384 5;6 $wp_db_version = 3846; 7 7 8 8 ?> 9 No newline at end of file -
wp-admin/upgrade-schema.php
35 35 KEY comment_post_ID (comment_post_ID) 36 36 ); 37 37 CREATE TABLE $wpdb->link2cat ( 38 rel_id bigint(20) NOT NULL auto_increment,39 38 link_id bigint(20) NOT NULL default '0', 40 39 category_id bigint(20) NOT NULL default '0', 41 PRIMARY KEY (rel_id), 42 KEY link_id (link_id,category_id) 40 PRIMARY KEY (link_id,category_id) 43 41 ); 44 42 CREATE TABLE $wpdb->links ( 45 43 link_id bigint(20) NOT NULL auto_increment, … … 76 74 KEY option_name (option_name) 77 75 ); 78 76 CREATE TABLE $wpdb->post2cat ( 79 rel_id bigint(20) NOT NULL auto_increment,80 77 post_id bigint(20) NOT NULL default '0', 81 78 category_id bigint(20) NOT NULL default '0', 82 PRIMARY KEY (rel_id), 83 KEY post_id (post_id,category_id) 79 PRIMARY KEY (post_id,category_id) 84 80 ); 85 81 CREATE TABLE $wpdb->postmeta ( 86 82 meta_id bigint(20) NOT NULL auto_increment,