Bug 17560 - DBRev 16.12.00.020

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle M Hall 2017-03-31 12:12:21 +00:00
parent 7bbb8be387
commit 767ede853b
3 changed files with 15 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 = "16.12.00.019";
$VERSION = "16.12.00.020";
sub version {
return $VERSION;

View File

@ -1,2 +0,0 @@
UPDATE systempreferences SET options="any_time_is_placed|not_always|any_time_is_collected" WHERE variable="HoldFeeMode";
UPDATE systempreferences SET value="any_time_is_placed" WHERE variable="HoldFeeMode" AND value="always";

View File

@ -14048,6 +14048,20 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 18173 - Remove issues.return DB field)\n";
}
$DBversion = "16.12.00.020";
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
UPDATE systempreferences SET options="any_time_is_placed|not_always|any_time_is_collected" WHERE variable="HoldFeeMode";
});
$dbh->do(q{
UPDATE systempreferences SET value="any_time_is_placed" WHERE variable="HoldFeeMode" AND value="always";
});
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 17560 - Hold fee placement at point of checkout)\n";
}
# 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.