Koha/installer/data/mysql/db_revs/231200055.pl
Katrin Fischer 0829d489a0
Bug 30047: DBRev 23.12.00.055
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-05-10 16:45:52 +02:00

20 lines
574 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30047",
description => "Add thesaurus and heading fields to auth_header table",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
if ( !column_exists( 'auth_header', 'heading' ) ) {
$dbh->do(
q{
ALTER TABLE auth_header ADD COLUMN `heading` longtext COLLATE utf8mb4_unicode_ci DEFAULT NULL AFTER `modification_time`
}
);
say $out "Added column 'auth_header.heading'";
}
},
};