Bug 18790: DBRev 17.12.00.034

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-04-19 12:29:20 -03:00
parent 8a92d53bc8
commit f1659fa09f
3 changed files with 12 additions and 9 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 = "17.12.00.033";
$VERSION = "17.12.00.034";
sub version {
return $VERSION;

View File

@ -1,8 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( q{INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')} );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 18790 - Add ability to void payment)\n";
}

View File

@ -15872,6 +15872,17 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 18786 - Add ability to create custom payment types)\n";
}
$DBversion = '17.12.00.034';
if( CheckVersion( $DBversion ) ) {
$dbh->do( q{
INSERT IGNORE INTO account_offset_types ( type ) VALUES ('Void Payment')
} );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 18790 - Add ability to void payment)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.