@@ -, +, @@ --- installer/data/mysql/atomicupdate/bug_31503.pl | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 installer/data/mysql/atomicupdate/bug_31503.pl --- a/installer/data/mysql/atomicupdate/bug_31503.pl +++ a/installer/data/mysql/atomicupdate/bug_31503.pl @@ -0,0 +1,13 @@ +use Modern::Perl; + +return { + bug_number => 31503, + description => "Adjust patron_consent.type", + up => sub { + my ($args) = @_; + my ($dbh, $out) = @$args{qw(dbh out)}; + $dbh->do(q{ +ALTER TABLE patron_consent CHANGE COLUMN `type` `type` tinytext COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'patron consent type; controlled by authorised values'; + }); + }, +}; --