Project

General

Profile

Actions

Bug #3376

closed

Add DB upgrade/install functionality to java code

Added by Michael Daigle about 16 years ago. Updated almost 16 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.

Actions #1

Updated by Michael Daigle almost 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 #2

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 3376

Actions

Also available in: Atom PDF