Koha/installer/data/mysql/db_revs/230600065.pl
Tomas Cohen Arazi 04c1e99312
Bug 34438: DBRev 23.06.00.065
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 11:41:16 -03:00

15 lines
465 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34438",
description => "Add lang to to the borrower_modifications table",
up => sub {
my ($args) = @_;
my $dbh = $args->{dbh};
if ( !column_exists( 'borrower_modifications', 'lang' ) ) {
$dbh->do(
"ALTER TABLE `borrower_modifications` ADD COLUMN `lang` VARCHAR(25) DEFAULT NULL AFTER `primary_contact_method`"
);
}
},
}