From e544ff4345498902dad76acfc7077b473870a74a Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Thu, 4 Aug 2022 09:55:16 -0300 Subject: [PATCH] Bug 29632: (QA follow-up) Fix COMMENT discrepancy on upgrade Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/db_revs/220600017.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"; }, -- 2.39.5