WordPress.org

Make WordPress Core


Ignore:
Timestamp:
09/17/2009 08:17:33 PM (10 years ago)
Author:
westi
Message:

First pass commentmeta implementation. See #2659 props scribu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/schema.php

    r11883 r11943  
    5454 PRIMARY KEY  (object_id,term_taxonomy_id),
    5555 KEY term_taxonomy_id (term_taxonomy_id)
     56) $charset_collate;
     57CREATE TABLE $wpdb->commentmeta (
     58  meta_id bigint(20) unsigned NOT NULL auto_increment,
     59  comment_id bigint(20) unsigned NOT NULL default '0',
     60  meta_key varchar(255) default NULL,
     61  meta_value longtext,
     62  PRIMARY KEY  (meta_id),
     63  KEY post_id (comment_id),
     64  KEY meta_key (meta_key)
    5665) $charset_collate;
    5766CREATE TABLE $wpdb->comments (
Note: See TracChangeset for help on using the changeset viewer.