Bug 29632: (QA follow-up) Fix COMMENT discrepancy on upgrade
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
657a9f2899
commit
e544ff4345
1 changed files with 2 additions and 1 deletions
|
@ -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";
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue