WordPress.org

Make WordPress Core

Ticket #40088: 40088.diff

File 40088.diff, 1.2 KB (added by lukecavanagh, 4 years ago)

Basic patch to remove the links db table from schema.php

  • src/wp-admin/includes/schema.php

     
    120120  KEY comment_parent (comment_parent),
    121121  KEY comment_author_email (comment_author_email(10))
    122122) $charset_collate;
    123 CREATE TABLE $wpdb->links (
    124   link_id bigint(20) unsigned NOT NULL auto_increment,
    125   link_url varchar(255) NOT NULL default '',
    126   link_name varchar(255) NOT NULL default '',
    127   link_image varchar(255) NOT NULL default '',
    128   link_target varchar(25) NOT NULL default '',
    129   link_description varchar(255) NOT NULL default '',
    130   link_visible varchar(20) NOT NULL default 'Y',
    131   link_owner bigint(20) unsigned NOT NULL default '1',
    132   link_rating int(11) NOT NULL default '0',
    133   link_updated datetime NOT NULL default '0000-00-00 00:00:00',
    134   link_rel varchar(255) NOT NULL default '',
    135   link_notes mediumtext NOT NULL,
    136   link_rss varchar(255) NOT NULL default '',
    137   PRIMARY KEY  (link_id),
    138   KEY link_visible (link_visible)
    139 ) $charset_collate;
    140123CREATE TABLE $wpdb->options (
    141124  option_id bigint(20) unsigned NOT NULL auto_increment,
    142125  option_name varchar(191) NOT NULL default '',