mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
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:
@@ -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 ;");
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user