Koha/installer/data/mysql/db_revs/231200032.pl
Katrin Fischer 220a4a44e7
Bug 33478: DBRev 23.12.00.032
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-26 20:15:48 +02:00

20 lines
521 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33478",
description => "Customise the format of notices when they are printed",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
if ( !column_exists( 'letter', 'style' ) ) {
$dbh->do(
q{
ALTER TABLE letter ADD COLUMN `style` mediumtext DEFAULT NULL AFTER `updated_on`
}
);
say $out "Added column 'letter.style'";
}
},
};