Koha/installer/data/mysql/db_revs/221200008.pl
Tomas Cohen Arazi da6d7171e3
Bug 33004: DBRev 22.12.00.008
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-27 13:08:08 -03:00

12 lines
409 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33004",
description => "Add VENDOR_TYPE authorised value category",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{INSERT IGNORE INTO authorised_value_categories (category_name, is_system) VALUES ('VENDOR_TYPE', 1)});
say $out "Added new authorised value category 'VENDOR_TYPE'";
},
};