Project

General

Profile

Bug #3376

Add DB upgrade/install functionality to java code

Added by Michael Daigle over 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
metacat
Target version:
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.

History

#1 Updated by Michael Daigle about 11 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.

#2 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3376

Also available in: Atom PDF