From ef9cfda412510b703626791cfe74fc96944859ee Mon Sep 17 00:00:00 2001 From: michelvaldrighi Date: Tue, 30 Mar 2004 01:44:21 +0000 Subject: [PATCH] updated install.php to keep up with changes in wp_posts git-svn-id: https://develop.svn.wordpress.org/trunk@1031 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/install.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index 542218ba91..5e8e65a1d4 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -195,6 +195,7 @@ $query = "CREATE TABLE $tableposts ( ID int(10) unsigned NOT NULL auto_increment, post_author int(4) NOT NULL default '0', post_date datetime NOT NULL default '0000-00-00 00:00:00', + post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', post_content text NOT NULL, post_title text NOT NULL, post_category int(4) NOT NULL default '0', @@ -205,7 +206,16 @@ $query = "CREATE TABLE $tableposts ( comment_status enum('open','closed') NOT NULL default 'open', ping_status enum('open','closed') NOT NULL default 'open', post_password varchar(20) NOT NULL default '', + post_name varchar(200) NOT NULL default '', + to_ping text NOT NULL, + pinged text NOT NULL, + post_modified datetime NOT NULL default '0000-00-00 00:00:00', + post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00', + post_content_filtered text NOT NULL, PRIMARY KEY (ID), + KEY post_date (post_date), + KEY post_date_gmt (post_date_gmt), + KEY post_name (post_name), KEY post_status (post_status) ) "; @@ -216,7 +226,8 @@ $q = $wpdb->query($query); query($query); ?>