Bug 28924: DBRev 24.06.00.016
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
f070a48040
commit
e81f7e2ef2
2 changed files with 5 additions and 4 deletions
2
Koha.pm
2
Koha.pm
|
@ -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;
|
||||
|
|
|
@ -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" );
|
||||
}
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue