Friendlier comment schema.

git-svn-id: https://develop.svn.wordpress.org/trunk@1609 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-09-05 07:44:58 +00:00
parent 6bf4f0ed17
commit e95e4738f7
1 changed files with 3 additions and 1 deletions

View File

@ -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),