Koha/installer/data/mysql/db_revs/211200032.pl
Fridolin Somers 2876e87622 Bug 30498: DBRev 21.12.00.032
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:40 +02:00

11 lines
441 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => 30498,
description => "Correct enum search_field.type",
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') NOT NULL COMMENT 'what type of data this holds, relevant when storing it in the search engine'| );
},
};