Bug 28774: DBRev 21.05.03.001

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Kyle Hall 2021-09-03 11:13:21 -04:00
parent 11ec644edf
commit 4892d29352
3 changed files with 10 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 = "21.05.02.003";
$VERSION = "21.05.03.001";
sub version {
return $VERSION;

View file

@ -1,8 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
DELETE FROM circulation_rules
WHERE rule_name = 'rentaldiscount' AND rule_value=''
});
NewVersion( $DBversion, 28774, "Delete blank rental discounts");
}

View file

@ -24427,6 +24427,15 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, "", "Koha 21.05.03 release" );
}
$DBversion = '21.05.03.001';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
DELETE FROM circulation_rules
WHERE rule_name = 'rentaldiscount' AND rule_value=''
});
NewVersion( $DBversion, "28774", "Delete blank rental discounts" );
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';