Bug 29632: (QA follow-up) Fix COMMENT discrepancy on upgrade

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomás Cohen Arazi 2022-08-04 09:55:16 -03:00
parent 657a9f2899
commit e544ff4345
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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";
},