Friendlier comment schema.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1609 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
saxmatt 2004-09-05 07:44:58 +00:00
parent 8636989356
commit de4665574b
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),