View | Details | Raw Unified | Return to bug 29605
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_29605.pl (+3 lines)
Lines 59-64 return { Link Here
59
        );
59
        );
60
        say $out "Ensure additional_contents.lang is VARCHAR(50)";
60
        say $out "Ensure additional_contents.lang is VARCHAR(50)";
61
61
62
        $dbh->do(q{ALTER TABLE search_marc_map MODIFY `marc_type` enum('marc21','unimarc') NOT NULL COMMENT 'what MARC type this map is for'});
63
        say $out "Ensure NOT NULL on search_marc_map.marc_type";
64
62
    },
65
    },
63
66
64
}
67
}
(-)a/installer/data/mysql/db_revs/210600031.pl (-2 / +1 lines)
Lines 7-12 return { Link Here
7
        my ($args) = @_;
7
        my ($args) = @_;
8
        my ($dbh, $out) = @$args{qw(dbh out)};
8
        my ($dbh, $out) = @$args{qw(dbh out)};
9
        $dbh->do(q{DELETE FROM search_marc_map WHERE marc_type='normarc'});
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'});
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
    },
11
    },
12
}
12
}
13
- 

Return to bug 29605