Bug 13142: DBRev 21.12.00.055
[koha.git] / installer / data / mysql / db_revs / 210600031.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "18984",
5     description => "Remove NORMARC from search_marc_map.marc_type",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         $dbh->do(q{DELETE FROM search_marc_map WHERE marc_type='normarc'});
10         $dbh->do(q{ALTER TABLE search_marc_map MODIFY `marc_type` enum('marc21','unimarc') NOT NULL COMMENT 'what MARC type this map is for'});
11     },
12 }