From a0c8bb6a2a1a1c66dc3c472497ecf9b5c5ecc406 Mon Sep 17 00:00:00 2001 From: Dougal Campbell Date: Tue, 27 Apr 2004 14:43:10 +0000 Subject: [PATCH] Moved post_parent add into function git-svn-id: https://develop.svn.wordpress.org/trunk@1188 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upgrade-functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/upgrade-functions.php b/wp-admin/upgrade-functions.php index 2cfc3f4075..d1dedb59df 100644 --- a/wp-admin/upgrade-functions.php +++ b/wp-admin/upgrade-functions.php @@ -806,8 +806,8 @@ function upgrade_110() { // Forward-thinking $wpdb->query("ALTER TABLE `$tableposts` CHANGE `post_status` `post_status` ENUM( 'publish', 'draft', 'private', 'static' ) DEFAULT 'publish' NOT NULL"); -} - maybe_add_column($tableposts, 'post_parent', "ALTER TABLE `$tableposts` ADD `post_parent` INT NOT NULL ;"); +} + ?> \ No newline at end of file