From a408aaca5dfef5cd255409bafac308628b2315f5 Mon Sep 17 00:00:00 2001 From: emc3 Date: Tue, 27 Apr 2004 14:43:10 +0000 Subject: [PATCH] Moved post_parent add into function git-svn-id: http://svn.automattic.com/wordpress/trunk@1188 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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