Two new fields.

git-svn-id: https://develop.svn.wordpress.org/trunk@1602 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Matt Mullenweg 2004-09-05 01:43:40 +00:00
parent 173f2cd3e6
commit 0e365db45d
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ CREATE TABLE $wpdb->comments (
comment_content text NOT NULL,
comment_karma int(11) NOT NULL default '0',
comment_approved enum('0','1') NOT NULL default '1',
comment_agent varchar(255) NOT NULL default '',
user_id int(11) NOT NULL default '0',
PRIMARY KEY (comment_ID),
KEY comment_approved (comment_approved),
@ -115,6 +116,7 @@ CREATE TABLE $wpdb->posts (
post_modified_gmt datetime NOT NULL default '0000-00-00 00:00:00',
post_content_filtered text NOT NULL,
post_parent int(11) NOT NULL default '0',
guid varchar(255) NOT NULL default '',
PRIMARY KEY (ID),
KEY post_date_gmt (post_date_gmt),
KEY post_name (post_name),