Ticket #4778: enum_to_varchar.diff
File enum_to_varchar.diff, 2.4 KB (added by , 17 years ago) |
---|
-
wp-includes/version.php
16 16 * 17 17 * @global int $wp_db_version 18 18 */ 19 $wp_db_version = 673 0;19 $wp_db_version = 6731; 20 20 21 21 ?> 22 No newline at end of file -
wp-admin/includes/schema.php
45 45 comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', 46 46 comment_content text NOT NULL, 47 47 comment_karma int(11) NOT NULL default '0', 48 comment_approved enum('0','1','spam') NOT NULL default '1',48 comment_approved varchar(20) NOT NULL default '1', 49 49 comment_agent varchar(255) NOT NULL default '', 50 50 comment_type varchar(20) NOT NULL default '', 51 51 comment_parent bigint(20) NOT NULL default '0', … … 63 63 link_target varchar(25) NOT NULL default '', 64 64 link_category bigint(20) NOT NULL default '0', 65 65 link_description varchar(255) NOT NULL default '', 66 link_visible enum('Y','N') NOT NULL default 'Y',66 link_visible varchar(20) NOT NULL default 'Y', 67 67 link_owner int(11) NOT NULL default '1', 68 68 link_rating int(11) NOT NULL default '0', 69 69 link_updated datetime NOT NULL default '0000-00-00 00:00:00', … … 79 79 blog_id int(11) NOT NULL default '0', 80 80 option_name varchar(64) NOT NULL default '', 81 81 option_value longtext NOT NULL, 82 autoload enum('yes','no') NOT NULL default 'yes',82 autoload varchar(20) NOT NULL default 'yes', 83 83 PRIMARY KEY (option_id,blog_id,option_name), 84 84 KEY option_name (option_name) 85 85 ) $charset_collate; … … 101 101 post_title text NOT NULL, 102 102 post_category int(4) NOT NULL default '0', 103 103 post_excerpt text NOT NULL, 104 post_status enum('publish','draft','private','static','object','attachment','inherit','future', 'pending') NOT NULL default 'publish',105 comment_status enum('open','closed','registered_only') NOT NULL default 'open',106 ping_status enum('open','closed') NOT NULL default 'open',104 post_status varchar(20) NOT NULL default 'publish', 105 comment_status varchar(20) NOT NULL default 'open', 106 ping_status varchar(20) NOT NULL default 'open', 107 107 post_password varchar(20) NOT NULL default '', 108 108 post_name varchar(200) NOT NULL default '', 109 109 to_ping text NOT NULL,