- Home
- Knowledge Base
- Administration
- Admin – Database Upgrades
Admin – Database Upgrades
As new features and bug fixes are released, the databases need to be upgraded. This page explains the process.
Navigation: BOS Tools > Admin (BOS) > Right click a subscriber > View / Edit Databases (context menu)
How to Upgrade a Database
- You can only select Versions that are newer than the Current Version and in a Complete Status.
- The Database is automatically backed up using this format:
- DatabaseName_upgrade_103_date.
- After the upgrade is executed, a log is displayed and the Version Number is updated.
- If an error is returned while running the Upgrade Script, you can restore from the upgrade backup.
- Navigate to the Databases interface.
- Note: If you are in the Databases interface, select a Subscriber from the dropdown list next to Databases.
- Right click a database and select Upgrade from the context menu.
- Select the Version that you want to upgrade to.
- Click OK (button).
- Confirm the upgrade on the popup.
- Note: The Upgrade Scripts for all the Versions from the current to the selected version are executed in order of Tables and Indexes, Procedures and Triggers, Data Updates, and Drops.
- When Users next log into the Desktop or Mobile App, the new Version is automatically installed and run.
How to Test an Upgrade
For internal use only.
- Navigate to the Databases interface
- Right-click a Database and select Copy from the context menu.
- The new Database has the same name and a suffix of -copy.
- Rename the Alias (change ‘copy’ to ‘upgrade test’).
- Upgrade the copy and check if the upgrade was successful.
Technical Information – Upgrades
For internal use only.
Desktop Exe Checklist
- Close the DB Connection.
- Close all the Forms.
- Set the Build to Release.
- Update the Ver No. (Version Number).
- Compile.
Upgrade Checklist
- Add the Version No. in BOS Tools.
- Complete the Upgrade Script in BOS Tools and test it on a new database.
- Upload the Desktop Exe (Release + Update Ver No.): S3/bos-downloads/version.
- Upload the Mobile App: S3/bos24.quickeasysoftware.com/version.
- Backup the Source Code by version.
- Document the changes.
- Update the Installer for new installs.
- Update the Master Dictionary.
- Publish to Staff and Agents.