Forgot post_status.

git-svn-id: http://svn.automattic.com/wordpress/trunk@166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2003-06-04 20:04:47 +00:00
parent dc8d5836cf
commit 4cb49de3d8

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);