From de4665574b773d4399e50fc2bdbcc070f63c7357 Mon Sep 17 00:00:00 2001 From: saxmatt Date: Sun, 5 Sep 2004 07:44:58 +0000 Subject: [PATCH] Friendlier comment schema. git-svn-id: http://svn.automattic.com/wordpress/trunk@1609 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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),