Koha/installer/data/mysql/db_revs/230600016.pl
Tomas Cohen Arazi b33b45d771
Bug 34584: DBRev 23.06.00.016
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-01 11:43:38 -03:00

17 lines
491 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34584",
description => "Update SocialNetworks system preference to Choice",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{UPDATE systempreferences SET type = "Choice", options = "facebook|linkedin|email" WHERE variable = "SocialNetworks"}
);
say $out "Updated system preference 'SocialNetworks'";
},
};