Moved post_parent add into function

git-svn-id: http://svn.automattic.com/wordpress/trunk@1188 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
emc3 2004-04-27 14:43:10 +00:00
parent 80121a74d2
commit a408aaca5d
1 changed files with 2 additions and 2 deletions

View File

@ -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 ;");
}
?>