Make WordPress Core


Ignore:
Timestamp:
02/27/2006 04:57:30 AM (18 years ago)
Author:
ryan
Message:

Bookmark/link rework. #2499

File:
1 edited

Legend:

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

    r3548 r3570  
    99  category_parent bigint(20) NOT NULL default '0',
    1010  category_count bigint(20) NOT NULL default '0',
     11  link_count bigint(20) NOT NULL default '0',
     12  posts_private tinyint(1) NOT NULL default '0',
     13  links_private tinyint(1) NOT NULL default '0',
    1114  PRIMARY KEY  (cat_ID),
    1215  KEY category_nicename (category_nicename)
     
    3134  KEY comment_approved (comment_approved),
    3235  KEY comment_post_ID (comment_post_ID)
     36);
     37CREATE TABLE $wpdb->link2cat (
     38  rel_id bigint(20) NOT NULL auto_increment,
     39  link_id bigint(20) NOT NULL default '0',
     40  category_id bigint(20) NOT NULL default '0',
     41  PRIMARY KEY  (rel_id),
     42  KEY link_id (link_id,category_id)
    3343);
    3444CREATE TABLE $wpdb->linkcategories (
     
    232242    // 2.1
    233243    add_option('blog_public', 1);
     244    add_option('default_link_category', 2);
    234245
    235246    // Delete unused options
Note: See TracChangeset for help on using the changeset viewer.