Actions
Bug #3376
closedAdd DB upgrade/install functionality to java code
Start date:
06/09/2008
Due date:
% Done:
0%
Estimated time:
Bugzilla-Id:
3376
Description
Add the ability for db upgrade scripts to be run from within java. This will allow control of the db upgrade from within the configuration utility, but still allow the user to run the scripts from the command line if necessary.
Updated by Michael Daigle over 16 years ago
The database upgrade functionality was added. The page is managed by database-configuration.jsp and DBAdmin.java. DBVersion and MetaCatVersion classes were added to manage database and application version. The system compares the database schema version to the application version. It then applies the appropriate scripts to bring the database up to date.
The database scripts are configured on a per-version basis in metacat.properties in the database.upgradeVersion section.
Actions