WordPress.org

Make WordPress Core

Ticket #2699: upgrade-scheme.php.diff

File upgrade-scheme.php.diff, 521 bytes (added by johnjosephbachir, 8 years ago)
  • wp-admin/upgrade-schema.php

     
    7373  option_admin_level int(11) NOT NULL default '1', 
    7474  autoload enum('yes','no') NOT NULL default 'yes', 
    7575  PRIMARY KEY  (option_id,blog_id,option_name), 
    76   KEY option_name (option_name) 
     76  UNIQUE option_name (option_name) 
    7777); 
    7878CREATE TABLE $wpdb->post2cat ( 
    7979  rel_id bigint(20) NOT NULL auto_increment,