Make WordPress Core


Ignore:
Timestamp:
08/30/2013 04:29:06 AM (11 years ago)
Author:
nacin
Message:

Add signup_id primary key to $wpdb->signups, and add better indexes.

props josephscott, pento, barry.
see #15004.

File:
1 edited

Legend:

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

    r25171 r25179  
    273273) $charset_collate;
    274274CREATE TABLE $wpdb->signups (
     275  signup_id bigint(20) NOT NULL auto_increment,
    275276  domain varchar(200) NOT NULL default '',
    276277  path varchar(100) NOT NULL default '',
     
    283284  activation_key varchar(50) NOT NULL default '',
    284285  meta longtext,
     286  PRIMARY KEY  (signup_id),
    285287  KEY activation_key (activation_key),
    286   KEY domain (domain)
     288  KEY user_email (user_email)
     289  KEY user_login_email (user_login,user_email),
     290  KEY domain_path (domain,path),
    287291) $charset_collate;";
    288292
Note: See TracChangeset for help on using the changeset viewer.