Ticket #4013: trunk-schema.diff
File trunk-schema.diff, 1.5 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 = 486 0;6 $wp_db_version = 4861; 7 7 8 8 ?> -
wp-admin/upgrade-schema.php
86 86 ) $charset_collate; 87 87 CREATE TABLE $wpdb->post2cat ( 88 88 rel_id bigint(20) NOT NULL auto_increment, 89 post_id bigint(20) NOT NULL default '0',89 post_id int(11) NOT NULL default '0', 90 90 category_id bigint(20) NOT NULL default '0', 91 91 PRIMARY KEY (rel_id), 92 92 KEY post_id (post_id,category_id) 93 93 ) $charset_collate; 94 94 CREATE TABLE $wpdb->postmeta ( 95 95 meta_id bigint(20) NOT NULL auto_increment, 96 post_id bigint(20) NOT NULL default '0',96 post_id int(11) NOT NULL default '0', 97 97 meta_key varchar(255) default NULL, 98 98 meta_value longtext, 99 99 PRIMARY KEY (meta_id), … … 101 101 KEY meta_key (meta_key) 102 102 ) $charset_collate; 103 103 CREATE TABLE $wpdb->posts ( 104 ID bigint(20) unsigned NOT NULL auto_increment,104 ID int(11) unsigned NOT NULL auto_increment, 105 105 post_author bigint(20) NOT NULL default '0', 106 106 post_date datetime NOT NULL default '0000-00-00 00:00:00', 107 107 post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00',