Koha/installer/data/mysql/db_revs/221200009.pl
Tomas Cohen Arazi d6f4edca00
Bug 32799: DBRev 22.12.00.009
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-02-27 13:08:11 -03:00

14 lines
500 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "32799",
description => "Rename ILLSTATUS authorised value category",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(q{UPDATE authorised_value_categories SET category_name = "ILL_STATUS_ALIAS" WHERE category_name = "ILLSTATUS"});
# Print useful stuff here
say $out "Renamed authorised value category 'ILLSTATUS' to 'ILL_STATUS_ALIAS'";;
},
};