UPGRADE (mrbs-1.9.4) | : | UPGRADE (mrbs-1.10.0) | ||
---|---|---|---|---|
skipping to change at line 12 | skipping to change at line 12 | |||
-------------------------------------------------- | -------------------------------------------------- | |||
If you are upgrading from MRBS 1.2-pre3 or later, then MRBS will | If you are upgrading from MRBS 1.2-pre3 or later, then MRBS will | |||
automatically execute any necessary database upgrades when it is first | automatically execute any necessary database upgrades when it is first | |||
run. It will prompt you for a database (not MRBS) username and password | run. It will prompt you for a database (not MRBS) username and password | |||
with rights to create and alter tables. | with rights to create and alter tables. | |||
It would be a sensible precaution to take a backup of your database before | It would be a sensible precaution to take a backup of your database before | |||
the upgrade. | the upgrade. | |||
1. Take a backup of your database, just in case | 1. Take a backup of your database, just in case. | |||
2. Take a backup copy of your existing mrbs directory on your web server | 2. Take a backup copy of your existing mrbs directory on your web server. | |||
3. Upload all the files and directories, except the config file, in the web | 3. Upload all the files and directories, except the config file, in the web | |||
directory of the release to your server, overwriting your existing files. | directory of the release to your server, overwriting your existing files. | |||
Note that if you are upgrading from MRBS 1.4.7 or earlier, the structure | Note that if you are upgrading from MRBS 1.4.7 or earlier, the structure | |||
of the config file has changed and you should create a new config file | of the config file has changed and you should create a new config file | |||
based on config.inc.php-sample. | based on config.inc.php-sample. | |||
4. Go to MRBS in your browser. If a database upgrade is required, you'll be | 4. Go to MRBS in your browser. If a database upgrade is required, you'll be | |||
prompted for a database (note database, not MRBS) username and password. | prompted for a database (note database, not MRBS) username and password. | |||
MRBS database upgrades are in general not backwards compatible, ie you won't | MRBS database upgrades are in general not backwards compatible, ie you won't | |||
be able to run an older version of MRBS against a later version of the | be able to run an older version of MRBS against a later version of the | |||
skipping to change at line 139 | skipping to change at line 139 | |||
MRBS 1.4.5 introduces the concept of tentative bookings, or bookings that | MRBS 1.4.5 introduces the concept of tentative bookings, or bookings that | |||
require confirmation. To avoid confusion, what were previously known as | require confirmation. To avoid confusion, what were previously known as | |||
"provisional bookings" have now been renamed "bookings requiring approval" | "provisional bookings" have now been renamed "bookings requiring approval" | |||
and the config variable $provisional_enabled has been renamed | and the config variable $provisional_enabled has been renamed | |||
$approval_enabled. You should update your config file accordingly. | $approval_enabled. You should update your config file accordingly. | |||
Please also see the note about database compatibility above. | Please also see the note about database compatibility above. | |||
Upgrading from prior MRBS 1.2-pre3 | Upgrading from prior MRBS 1.2-pre3 | |||
================================== | ================================== | |||
Upgrade to MRBS 1.2-pre3 first by following the upgrade instructions in that | ||||
mrbs 1.2-pre3 introduced area and room administrator email fields. | release. | |||
Please apply the upgrade3.my.sql to add these fields. This file should work | ||||
both with mysql and pgsql. | ||||
Upgrading from prior to MRBS 1.0 final | ||||
====================================== | ||||
Please apply the upgrade2.my.sql (if using MySQL) or the | ||||
the upgrade2.pg.sql (if using PostgreSQL) script, which | ||||
adds a new column to the 'mrbs_repeat' table to support | ||||
"n-weekly" repeats. | ||||
Upgrading from prior to MRBS 1.0-pre1 | ||||
====================================== | ||||
A change in version 1.0-pre1 might affect the appearance of entries in your | ||||
existing database. Prior versions of MRBS did an extra and unnecessary | ||||
level of backslash-escaping on room, area, and entry names and | ||||
descriptions. This applied to certain characters such as single quote | ||||
mark(') and backslash(\). As of version 1.0-pre1, these characters are | ||||
handled correctly. If you see extra backslashes when MRBS displays names or | ||||
descriptions, it is because these are in actually your database. You can | ||||
edit the entries in MRBS or directly with your database SQL tool, or just | ||||
ignore them. | ||||
Upgrading from prior to MRBS 0.7 | ||||
================================ | ||||
There was a change to the database schema at version 0.7. See the | ||||
information in INSTALL on using the upgrade.my.sql script. | ||||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added |