Changeset 1185 for trunk/wp-admin/upgrade-functions.php
- Timestamp:
- 04/26/2004 11:54:52 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/upgrade-functions.php
r1156 r1185 804 804 delete_option($option); 805 805 endforeach; 806 } 806 807 // Forward-thinking 808 $wpdb->query("ALTER TABLE `$tableposts` CHANGE `post_status` `post_status` ENUM( 'publish', 'draft', 'private', 'static' ) DEFAULT 'publish' NOT NULL"); 809 } 810 811 maybe_add_column($tableposts, 'post_parent', "ALTER TABLE `$tableposts` ADD `post_parent` INT NOT NULL ;"); 807 812 808 813 ?>
Note: See TracChangeset
for help on using the changeset viewer.