// -----------------------------------------------------------------------
// This file is part of AROUNDMe
// 
// Copyright (C) 2003-2008 Barnraiser
// http://www.barnraiser.org/
// info@barnraiser.org
// 
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
// 
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
// 
// You should have received a copy of the GNU General Public License
// along with this program; see the file COPYING.txt.  If not, see
// <http://www.gnu.org/licenses/>
// -----------------------------------------------------------------------


   ** ALWAYS PERFORM A FULL FILE AND DATABASE BACKUP BEFORE UPGRADING **


>> From version 1.5.3 to version 1.5.4
   1. Backup [never skip this]
   2. Upload the new installation into a new directory
   3. Notifications and digest require the addition of 3 new tables. Run the
      following 3 queries on your database:


      CREATE TABLE `am_plugin_forum_digest` (
        `connection_id` int(11) NOT NULL,
        `webspace_id` int(11) NOT NULL,
        `digest_frequency` int(1) NOT NULL,
        `send_datetime` datetime NOT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

      CREATE TABLE `am_plugin_forum_subject_notify` (
        `subject_id` int(11) NOT NULL,
        `reply_id` int(11) NOT NULL,
        `webspace_id` int(11) NOT NULL,
        `last_connection_id` int(11) NOT NULL,
        `notification_create_datetime` datetime NOT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

      CREATE TABLE `am_plugin_forum_subject_track` (
        `subject_id` int(11) NOT NULL,
        `connection_id` int(11) NOT NULL,
        `notification` int(1) default NULL,
        `webspace_id` int(11) NOT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;

   4. Re-point your URL from your old directory to your new
      directory.
   5. Enter your main domain into a browser. The installer will start. Perform
      a new installation. When prompted for a database name choose the same
      name. The installer will not overwrite your database information.

// DOCUMENT ENDS -------------------------------------------------------