From e531de6f044daaf536ff2535f07bf2ac89fbb58c Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 30 Sep 2004 12:25:49 +0000 Subject: [PATCH] Changed length of ID field in posts table so it matches the post_id field in other tables. git-svn-id: http://svn.automattic.com/wordpress/trunk@1725 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/upgrade-schema.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-admin/upgrade-schema.php b/wp-admin/upgrade-schema.php index 40ae57e7f1..2b4534e2d4 100644 --- a/wp-admin/upgrade-schema.php +++ b/wp-admin/upgrade-schema.php @@ -97,7 +97,7 @@ CREATE TABLE $wpdb->postmeta ( KEY meta_key (meta_key) ); CREATE TABLE $wpdb->posts ( - ID int(10) unsigned NOT NULL auto_increment, + ID int(11) unsigned NOT NULL auto_increment, post_author int(4) NOT NULL default '0', 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', @@ -224,4 +224,4 @@ function populate_options() { $wpdb->query("UPDATE $wpdb->options SET `autoload` = 'no' WHERE option_name = '$fatoption'"); endforeach; } -?> \ No newline at end of file +?>