Make WordPress Core

Changeset 2200


Ignore:
Timestamp:
02/02/2005 09:41:06 AM (21 years ago)
Author:
saxmatt
Message:

We didn't know how big it'd get :)

Location:
trunk/wp-admin
Files:
2 edited

Legend:

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

    r2162 r2200  
    135135    }
    136136
    137     // First we need to enlarge option_value so it can hold larger values:
    138     $wpdb->query("ALTER TABLE `$wpdb->options` CHANGE `option_value` `option_value` TEXT NOT NULL");
    139 
    140     $wpdb->query("ALTER TABLE `$wpdb->comments` CHANGE `comment_author_url` `comment_author_url` VARCHAR( 200 ) NOT NULL");
    141137}
    142138
  • trunk/wp-admin/upgrade-schema.php

    r2199 r2200  
    66  cat_name varchar(55) NOT NULL default '',
    77  category_nicename varchar(200) NOT NULL default '',
    8   category_description text NOT NULL,
     8  category_description lengtext NOT NULL,
    99  category_parent int(4) NOT NULL default '0',
    1010  PRIMARY KEY  (cat_ID),
    11   UNIQUE KEY cat_name (cat_name),
    1211  KEY category_nicename (category_nicename)
    1312);
     
    103102  post_date datetime NOT NULL default '0000-00-00 00:00:00',
    104103  post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00',
    105   post_content text NOT NULL,
     104  post_content longtext NOT NULL,
    106105  post_title text NOT NULL,
    107106  post_category int(4) NOT NULL default '0',
     
    145144  user_activation_key varchar(60) NOT NULL default '',
    146145  user_status int(11) NOT NULL default '0',
    147   user_description TEXT NOT NULL default '',
     146  user_description longtext NOT NULL default '',
    148147  PRIMARY KEY  (ID),
    149148  UNIQUE KEY user_login (user_login)
Note: See TracChangeset for help on using the changeset viewer.