Bug 18984: DB changes
[koha-ffzg.git] / installer / data / mysql / atomicupdate / bug_18984.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') COMMENT 'what MARC type this map is for'});
11     },
12 }