Koha/installer/data/mysql/db_revs/231200033.pl
Katrin Fischer b64533d3ff
Bug 31652: DBRev 23.12.00.033
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-29 15:19:35 +02:00

15 lines
502 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31652",
description => "Add geo-search: new value for search_field.type enum",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{ alter table search_field MODIFY COLUMN type enum('','string','date','number','boolean','sum','isbn','stdno','year','callnumber','geo_point') }
);
say $out "Added new value 'geo_point' to search_field.type enum";
},
};