Bug 28924: DBRev 24.06.00.016

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-07-18 16:07:48 +00:00
parent f070a48040
commit e81f7e2ef2
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 5 additions and 4 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 = "24.06.00.015";
$VERSION = "24.06.00.016";
sub version {
return $VERSION;

View file

@ -1,4 +1,5 @@
use Modern::Perl;
use Koha::Installer::Output qw(say_warning say_failure say_success say_info);
return {
bug_number => "28924",
@ -12,19 +13,19 @@ return {
q{ ALTER TABLE categories ADD COLUMN `noissuescharge` int(11) AFTER `exclude_from_local_holds_priority` }
);
say $out "Added column 'noissuescharge' to categories";
say_success( $out, "Added column 'noissuescharge' to categories" );
}
unless ( column_exists( 'categories', 'noissueschargeguarantees' ) ) {
$dbh->do(q{ ALTER TABLE categories ADD COLUMN `noissueschargeguarantees` int(11) AFTER `noissuescharge` });
say $out "Added column 'noissueschargeguarantees' to categories";
say_success( $out, "Added column 'noissueschargeguarantees' to categories" );
}
unless ( column_exists( 'categories', 'noissueschargeguarantorswithguarantees' ) ) {
$dbh->do(
q{ ALTER TABLE categories ADD COLUMN `noissueschargeguarantorswithguarantees` int(11) AFTER `noissueschargeguarantees` }
);
say $out "Added column 'noissueschargeguarantorswithguarantees' to categories";
say_success( $out, "Added column 'noissueschargeguarantorswithguarantees' to categories" );
}
},
};