From 5253f877d5b1e67b7bb9bc39e5c0fd9ea6ccec2f 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: http://svn.automattic.com/wordpress/trunk@1031 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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); ?>