Bug 15443 - DBrev 3.23.00.015

This commit is contained in:
Kyle Hall 2016-01-04 12:53:08 +00:00
parent eed2c0d437
commit 0aea75154a
3 changed files with 12 additions and 3 deletions

View file

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "3.23.00.014";
$VERSION = "3.23.00.015";
sub version {
return $VERSION;

View file

@ -1 +0,0 @@
UPDATE letter SET code = "HOLD_SLIP" WHERE code = "RESERVESLIP";

View file

@ -11651,7 +11651,7 @@ if ( CheckVersion($DBversion) ) {
$DBversion = "3.23.00.014";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
VALUES ('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo')
});
@ -11659,6 +11659,16 @@ VALUES ('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts'
SetVersion($DBversion);
}
$DBversion = "3.23.00.015";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
UPDATE letter SET code = "HOLD_SLIP" WHERE code = "RESERVESLIP";
});
print "Upgrade to $DBversion done (Bug 15443 - Re-code RESERVESLIP as HOLD_SLIP)\n";
SetVersion($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.