Koha/installer/data/mysql/atomicupdate/bug_30130.pl
Katrin Fischer 5c3ab82e2f Bug 30130: (QA follow-up) Fix permission on atomic update file
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-13 15:55:39 +02:00

19 lines
589 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30130",
description => "A standard to edi_account",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
unless ( column_exists('vendor_edi_accounts', 'standard') ) {
$dbh->do(q{
ALTER TABLE vendor_edi_accounts ADD standard varchar(3) DEFAULT 'EUR' AFTER san
});
$dbh->do(q{
UPDATE vendor_edi_accounts SET standard = 'BIC' WHERE san IN ( '5013546025065', '9377779308820', '5013546031839' )
});
}
},
};