diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-08-25 21:03:53 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-08-25 21:03:53 +0000 |
commit | 347ac3b08fbb2938f7b10fa3d20670b931a51891 (patch) | |
tree | b520d6c5a5df698bdb2f9c1c2b9369969d526b66 /update.php | |
parent | 8dd4b4635145fdd5c5f7ae7b5746f24e06474dee (diff) | |
download | brdo-347ac3b08fbb2938f7b10fa3d20670b931a51891.tar.gz brdo-347ac3b08fbb2938f7b10fa3d20670b931a51891.tar.bz2 |
- Patch #29597 by Neil: removing some Drupal 4.2 and Drupal 4.3 left-overs.
Diffstat (limited to 'update.php')
-rw-r--r-- | update.php | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/update.php b/update.php index 876f1b6b5..178fdeea4 100644 --- a/update.php +++ b/update.php @@ -84,79 +84,6 @@ function update_info_page() { $output .= "<li>Update your Drupal sources, check the notes below and <a href=\"update.php?op=update\">run the database upgrade script</a>. Don't upgrade your database twice as it may cause problems.</li>\n"; $output .= "<li>Go through the various administration pages to change the existing and new settings to your liking.</li>\n"; $output .= "</ol>"; - $output .= "Notes:"; - $output .= "<ol>"; - $output .= " <li>If you <strong>upgrade from Drupal 4.4.x</strong>, you will need to create the <code>users_roles</code> and <code>locales_meta</code> tables manually before upgrading. To create these tables, issue the following SQL commands: - - <p>MySQL specific example:</p> - <pre> - CREATE TABLE users_roles ( - uid int(10) unsigned NOT NULL default '0', - rid int(10) unsigned NOT NULL default '0', - PRIMARY KEY (uid, rid) - ); - CREATE TABLE locales_meta ( - locale varchar(12) NOT NULL default '', - name varchar(64) NOT NULL default '', - enabled int(2) NOT NULL default '0', - isdefault int(2) NOT NULL default '0', - plurals int(1) NOT NULL default '0', - formula varchar(128) NOT NULL default '', - PRIMARY KEY (locale) - ); - </pre> - - <p>PostgreSQL specific example:</p> - <pre> - CREATE TABLE users_roles ( - uid integer NOT NULL default '0', - rid integer NOT NULL default '0', - PRIMARY KEY (uid, rid) - ); - CREATE TABLE locales_meta ( - locale varchar(12) NOT NULL default '', - name varchar(64) NOT NULL default '', - enabled int4 NOT NULL default '0', - isdefault int4 NOT NULL default '0', - plurals int4 NOT NULL default '0', - formula varchar(128) NOT NULL default '', - PRIMARY KEY (locale) - ); - </pre> - </li>"; - $output .= " <li>If you <strong>upgrade from Drupal 4.3.x</strong>, you will need to add the <code>bootstrap</code> and <code>throttle</code> fields to the <code>system</code> table manually before upgrading. To add the required fields, issue the following SQL commands: - - <p>MySQL specific example:</p> - <pre> - ALTER TABLE system ADD throttle tinyint(1) NOT NULL DEFAULT '0'; - ALTER TABLE system ADD bootstrap int(2); - </pre> - - <p>PostgreSQL specific example:</p> - <pre> - ALTER TABLE system ADD throttle smallint; - ALTER TABLE system ALTER COLUMN throttle SET DEFAULT '0'; - UPDATE system SET throttle = 0; - ALTER TABLE system ALTER COLUMN throttle SET NOT NULL; - ALTER TABLE system ADD bootstrap integer; - </pre> - </li>"; - $output .= " <li>If you <strong>upgrade from Drupal 4.2.0</strong>, you will need to create the <code>sessions</code> table manually before upgrading. After creating the table, you will want to log in and immediately continue the upgrade. To create the <code>sessions</code> table, issue the following SQL command: - - <p>MySQL specific example:</p> - <pre> - CREATE TABLE sessions ( - uid int(10) unsigned NOT NULL, - sid varchar(32) NOT NULL default '', - hostname varchar(128) NOT NULL default '', - timestamp int(11) NOT NULL default '0', - session text, - KEY uid (uid), - KEY sid (sid(4)), - KEY timestamp (timestamp)); - </pre> - </li>"; - $output .= "</ol>"; $output .= '<p>For more help, see the <a href="http://drupal.org/node/258">Installation and upgrading handbook</a>. If you are unsure what these terms mean you should probably contact your hosting provider.</p>'; return $output; } |