Koha/installer/data/mysql/db_revs/221200006.pl
Tomas Cohen Arazi 5926e7246b
Bug 22428: DBRev 22.12.00.006
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-24 17:52:22 -03:00

16 lines
488 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "22428",
description => "Changes the datatype of the field value column to text to stop input being cut short",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
ALTER TABLE marc_modification_template_actions MODIFY COLUMN field_value text;
});
say $out "Amended dataype of column field_value in table marc_modification_template_actions.";
},
};