Koha/installer/data/mysql/db_revs/220600052.pl
Tomas Cohen Arazi 09bbc5e845
Bug 25375: DBRev 22.06.00.052
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-09-23 09:13:24 -03:00

15 lines
367 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "25735",
description => "Add Elasticsearch field 'available'",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(qq{
INSERT IGNORE INTO search_field (name, label, type)
VALUES ('available', 'available', 'boolean')
});
},
};