Forgot post_status.

git-svn-id: https://develop.svn.wordpress.org/trunk@166 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2003-06-04 20:04:47 +00:00
parent 625a66c287
commit 76a3fbb555

View File

@ -201,7 +201,8 @@ if ($got_row) {
$query = "ALTER TABLE $tableposts ADD COLUMN post_excerpt text NOT NULL;";
$q = $wpdb->query($query);
$query = "ALTER TABLE $tableposts ADD `comment_status` ENUM('open','closed') NOT NULL,
$query = "ALTER TABLE $tableposts ADD `post_status` ENUM('publish','draft','private') NOT NULL,
ADD `comment_status` ENUM('open','closed') NOT NULL,
ADD `ping_status` ENUM('open','closed') NOT NULL,
ADD post_password varchar(20) NOT NULL;";
$q = $wpdb->query($query);