Koha/installer/data/mysql/db_revs/210600041.pl
Jonathan Druart 02d094a36c Bug 27360: (follow-up) DBRev 21.06.00.041
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-15 12:38:39 +01:00

16 lines
421 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "27360",
description => "Make display of libraries configurable",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
unless ( column_exists('branches', 'public') ) {
$dbh->do(q{
ALTER TABLE branches ADD public tinyint(1) NOT NULL DEFAULT 1 AFTER pickup_location
});
}
},
}