Forgot post_status.
git-svn-id: http://svn.automattic.com/wordpress/trunk@166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
dc8d5836cf
commit
4cb49de3d8
|
@ -201,7 +201,8 @@ if ($got_row) {
|
||||||
|
|
||||||
$query = "ALTER TABLE $tableposts ADD COLUMN post_excerpt text NOT NULL;";
|
$query = "ALTER TABLE $tableposts ADD COLUMN post_excerpt text NOT NULL;";
|
||||||
$q = $wpdb->query($query);
|
$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 `ping_status` ENUM('open','closed') NOT NULL,
|
||||||
ADD post_password varchar(20) NOT NULL;";
|
ADD post_password varchar(20) NOT NULL;";
|
||||||
$q = $wpdb->query($query);
|
$q = $wpdb->query($query);
|
||||||
|
|
Loading…
Reference in New Issue