Moved post_parent add into function

git-svn-id: https://develop.svn.wordpress.org/trunk@1188 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Dougal Campbell 2004-04-27 14:43:10 +00:00
parent 5ba9dae5a4
commit a0c8bb6a2a
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 ;");
}
?>