Koha/installer/data/mysql/db_revs/231200002.pl
Katrin Fischer cbd0cd86bb
Bug 31297: DBRev 23.12.00.002
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2023-12-27 19:06:05 +01:00

14 lines
457 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31297",
description => "Allow subscription number pattern description to be NULL",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do("ALTER TABLE subscription_numberpatterns MODIFY description mediumtext DEFAULT NULL");
say $out "Modified column 'subscription_numberpatterns.description' to allow and default to NULL";
},
};