Bug 31846: DBRev 23.06.00.050

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2023-10-25 10:01:34 -03:00
parent 43d9ee68fc
commit b4cfe0019a
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 3 additions and 5 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 = "23.06.00.049";
$VERSION = "23.06.00.050";
sub version {
return $VERSION;

View File

@ -2,12 +2,11 @@ use Modern::Perl;
return {
bug_number => "31846",
description => "Add SerialsSearchResultsLimit syspref",
description => "Allow setting serials search results limit",
up => sub {
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)
@ -15,7 +14,6 @@ return {
}
);
# Print useful stuff here
say $out "SerialsSearchResultsLimit syspref added";
say $out "Added new system preference 'SerialsSearchResultsLimit'";
},
};