From e95e4738f7b21ba6b0d0e3a03e35fd50b1ce2ab5 Mon Sep 17 00:00:00 2001 From: Matt Mullenweg Date: Sun, 5 Sep 2004 07:44:58 +0000 Subject: [PATCH] Friendlier comment schema. git-svn-id: https://develop.svn.wordpress.org/trunk@1609 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/upgrade-schema.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wp-admin/upgrade-schema.php b/wp-admin/upgrade-schema.php index 4f2813c9d9..75bd5c1b35 100644 --- a/wp-admin/upgrade-schema.php +++ b/wp-admin/upgrade-schema.php @@ -22,8 +22,10 @@ CREATE TABLE $wpdb->comments ( comment_date_gmt datetime NOT NULL default '0000-00-00 00:00:00', comment_content text NOT NULL, comment_karma int(11) NOT NULL default '0', - comment_approved enum('0','1') NOT NULL default '1', + comment_approved tinyint(1) NOT NULL default '1', comment_agent varchar(255) NOT NULL default '', + comment_type varchar(20) NOT NULL default '', + comment_parent int(11) NOT NULL default '0', user_id int(11) NOT NULL default '0', PRIMARY KEY (comment_ID), KEY comment_approved (comment_approved),