Bug 26170: DBRev 23.06.00.057
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
4317eca9b3
commit
7cb3241f06
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 = "23.06.00.056";
|
||||
$VERSION = "23.06.00.057";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
@ -2,7 +2,7 @@ use Modern::Perl;
|
|||
|
||||
return {
|
||||
bug_number => "26170",
|
||||
description => "Create system patrons that cannot be (easily) deleted via the web UI",
|
||||
description => "Add protected status for patrons",
|
||||
up => sub {
|
||||
my ($args) = @_;
|
||||
my ( $dbh, $out ) = @$args{qw(dbh out)};
|
||||
|
@ -14,8 +14,9 @@ return {
|
|||
AFTER `primary_contact_method`;
|
||||
}
|
||||
);
|
||||
say $out "Added column 'borrowers.protected'";
|
||||
}
|
||||
say $out "Added column borrowers.protected";
|
||||
|
||||
if ( !column_exists( 'deletedborrowers', 'protected' ) ) {
|
||||
$dbh->do(
|
||||
q{
|
||||
|
@ -24,7 +25,7 @@ return {
|
|||
AFTER `primary_contact_method`;
|
||||
}
|
||||
);
|
||||
say $out "Added column 'deletedborrowers.protected'";
|
||||
}
|
||||
say $out "Added column deletedborrowers.protected";
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue