Bug 26777: DBRev 24.06.00.025

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Katrin Fischer 2024-08-26 08:34:32 +00:00
parent 71a8aae43f
commit 337301883b
Signed by: kfischer
GPG key ID: 0EF6E2C03357A834
2 changed files with 3 additions and 7 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.024";
$VERSION = "24.06.00.025";
sub version {
return $VERSION;

View file

@ -8,13 +8,13 @@ return {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('OPACVirtualCard', '0', NULL,'Enable virtual library cards for patrons on the OPAC.', 'YesNo')
}
);
say_success( $out, "Added new system preference 'OPACVirtualCard'" );
$dbh->do(
q{
@ -22,11 +22,7 @@ return {
('OPACVirtualCardBarcode', 'code39', 'code39|code128|ean13|upca|upce|ean8|itf14|qrcode|matrix2of5|industrial2of5|iata2of5|coop2of5','Specify the type of barcode to be used in the patron virtual library card tab in the OPAC.', 'Choice')
}
);
# sysprefs
say $out "Added new system preference 'OPACVirtualCard'";
say $out "Added new system preference 'OPACVirtualCardBarcode'";
say_success( $out, "Added new system preference 'OPACVirtualCardBarcode'" );
},
};