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