[wp-cvs] wordpress/wp-admin upgrade-functions.php, 1.87,
1.88 upgrade-schema.php, 1.22, 1.23
Matthew Mullenweg
saxmatt at users.sourceforge.net
Wed Feb 2 09:41:09 GMT 2005
Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14183/wp-admin
Modified Files:
upgrade-functions.php upgrade-schema.php
Log Message:
We didn't know how big it'd get :)
Index: upgrade-schema.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade-schema.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** upgrade-schema.php 2 Feb 2005 08:40:44 -0000 1.22
--- upgrade-schema.php 2 Feb 2005 09:41:06 -0000 1.23
***************
*** 6,13 ****
cat_name varchar(55) NOT NULL default '',
category_nicename varchar(200) NOT NULL default '',
! category_description text NOT NULL,
category_parent int(4) NOT NULL default '0',
PRIMARY KEY (cat_ID),
- UNIQUE KEY cat_name (cat_name),
KEY category_nicename (category_nicename)
);
--- 6,12 ----
cat_name varchar(55) NOT NULL default '',
category_nicename varchar(200) NOT NULL default '',
! category_description lengtext NOT NULL,
category_parent int(4) NOT NULL default '0',
PRIMARY KEY (cat_ID),
KEY category_nicename (category_nicename)
);
***************
*** 103,107 ****
post_date datetime NOT NULL default '0000-00-00 00:00:00',
post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00',
! post_content text NOT NULL,
post_title text NOT NULL,
post_category int(4) NOT NULL default '0',
--- 102,106 ----
post_date datetime NOT NULL default '0000-00-00 00:00:00',
post_date_gmt datetime NOT NULL default '0000-00-00 00:00:00',
! post_content longtext NOT NULL,
post_title text NOT NULL,
post_category int(4) NOT NULL default '0',
***************
*** 145,149 ****
user_activation_key varchar(60) NOT NULL default '',
user_status int(11) NOT NULL default '0',
! user_description TEXT NOT NULL default '',
PRIMARY KEY (ID),
UNIQUE KEY user_login (user_login)
--- 144,148 ----
user_activation_key varchar(60) NOT NULL default '',
user_status int(11) NOT NULL default '0',
! user_description longtext NOT NULL default '',
PRIMARY KEY (ID),
UNIQUE KEY user_login (user_login)
Index: upgrade-functions.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/upgrade-functions.php,v
retrieving revision 1.87
retrieving revision 1.88
diff -C2 -d -r1.87 -r1.88
*** upgrade-functions.php 30 Jan 2005 07:34:03 -0000 1.87
--- upgrade-functions.php 2 Feb 2005 09:41:06 -0000 1.88
***************
*** 135,142 ****
}
- // First we need to enlarge option_value so it can hold larger values:
- $wpdb->query("ALTER TABLE `$wpdb->options` CHANGE `option_value` `option_value` TEXT NOT NULL");
-
- $wpdb->query("ALTER TABLE `$wpdb->comments` CHANGE `comment_author_url` `comment_author_url` VARCHAR( 200 ) NOT NULL");
}
--- 135,138 ----
More information about the cvs
mailing list