diff --git a/installer/data/mysql/db_revs/220600017.pl b/installer/data/mysql/db_revs/220600017.pl index 0c224d0eab..d7a671ae9d 100755 --- a/installer/data/mysql/db_revs/220600017.pl +++ b/installer/data/mysql/db_revs/220600017.pl @@ -1,7 +1,7 @@ use Modern::Perl; return { - bug_number => "29632 ", + bug_number => "29632", description => "Add callnumber type to allow sorting", up => sub { my ($args) = @_; @@ -9,6 +9,7 @@ return { $dbh->do(q{ ALTER TABLE `search_field` MODIFY COLUMN `type` enum('','string','date','number','boolean','sum','isbn','stdno','year','callnumber') NOT NULL + COMMENT 'what type of data this holds, relevant when storing it in the search engine' }); say $out "Add callnumber to search_field type enum"; },