Changeset 2200
- Timestamp:
- 02/02/2005 09:41:06 AM (21 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
-
upgrade-functions.php (modified) (1 diff)
-
upgrade-schema.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-functions.php
r2162 r2200 135 135 } 136 136 137 // First we need to enlarge option_value so it can hold larger values:138 $wpdb->query("ALTER TABLE `$wpdb->options` CHANGE `option_value` `option_value` TEXT NOT NULL");139 140 $wpdb->query("ALTER TABLE `$wpdb->comments` CHANGE `comment_author_url` `comment_author_url` VARCHAR( 200 ) NOT NULL");141 137 } 142 138 -
trunk/wp-admin/upgrade-schema.php
r2199 r2200 6 6 cat_name varchar(55) NOT NULL default '', 7 7 category_nicename varchar(200) NOT NULL default '', 8 category_description text NOT NULL,8 category_description lengtext NOT NULL, 9 9 category_parent int(4) NOT NULL default '0', 10 10 PRIMARY KEY (cat_ID), 11 UNIQUE KEY cat_name (cat_name),12 11 KEY category_nicename (category_nicename) 13 12 ); … … 103 102 post_date datetime NOT NULL default '0000-00-00 00:00:00', 104 103 post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', 105 post_content text NOT NULL,104 post_content longtext NOT NULL, 106 105 post_title text NOT NULL, 107 106 post_category int(4) NOT NULL default '0', … … 145 144 user_activation_key varchar(60) NOT NULL default '', 146 145 user_status int(11) NOT NULL default '0', 147 user_description TEXTNOT NULL default '',146 user_description longtext NOT NULL default '', 148 147 PRIMARY KEY (ID), 149 148 UNIQUE KEY user_login (user_login)
Note: See TracChangeset
for help on using the changeset viewer.