From 1ad9afb8a7a1a3e2eaeacd34579386139654049e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 10 May 2004 20:34:25 +0000 Subject: - Added support for multiple user roles. Patch by Jim Hriggs. --- update.php | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) (limited to 'update.php') diff --git a/update.php b/update.php index b92e011d7..4936880a5 100644 --- a/update.php +++ b/update.php @@ -109,7 +109,29 @@ function update_info() { print ""; print "Notes:"; print "
    "; - print "
  1. If you upgrade from Drupal 4.3.x, you have will need to add the bootstrap and throttle fields to the system table manually before upgrading. To add the required fields, issue the following SQL commands: + print "
  2. If you upgrade from Drupal 4.4.x, you will need to create the users_roles table manually before upgrading. To create the users_roles table, issue the following SQL commands: + +

    MySQL specific example: +

    +  CREATE TABLE users_roles (
    +    uid int(10) unsigned NOT NULL default '0',
    +    rid int(10) unsigned NOT NULL default '0',
    +    PRIMARY KEY (uid, rid)
    +  );
    +  
    +

    + +

    PostgreSQL specific example: +

    +  CREATE TABLE users_roles (
    +    uid integer NOT NULL default '0',
    +    rid integer NOT NULL default '0',
    +    PRIMARY KEY (uid, rid)
    +  );
    +  
    +

    +
  3. "; + print "
  4. If you upgrade from Drupal 4.3.x, you will need to add the bootstrap and throttle fields to the system table manually before upgrading. To add the required fields, issue the following SQL commands:

    MySQL specific example:

    @@ -128,7 +150,11 @@ function update_info() {
       

  5. "; - print "
  6. If you upgrade from Drupal 4.2.0, you have to create the sessions table manually before upgrading. After you created the table, you'll want to log in and immediately continue the upgrade. To create the sessions table, issue the following SQL command (MySQL specific example):
    CREATE TABLE sessions (
    +  print " 
  7. If you upgrade from Drupal 4.2.0, you will need to create the sessions table manually before upgrading. After creating the table, you will want to log in and immediately continue the upgrade. To create the sessions table, issue the following SQL command: + +

    MySQL specific example: +

    +  CREATE TABLE sessions (
       uid int(10) unsigned NOT NULL,
       sid varchar(32) NOT NULL default '',
       hostname varchar(128) NOT NULL default '',
    @@ -136,7 +162,10 @@ function update_info() {
       session text,
       KEY uid (uid),
       KEY sid (sid(4)),
    -  KEY timestamp (timestamp));
  8. "; + KEY timestamp (timestamp)); +
    +

    +
  9. "; print "
"; print update_page_footer(); } -- cgit v1.2.3