mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 01:27:36 +01:00
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:
parent
80121a74d2
commit
a408aaca5d
@ -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 ;");
|
||||
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in New Issue
Block a user