Koha/installer/data/mysql/db_revs/221200029.pl
Tomas Cohen Arazi e38df2d6f7
Bug 33197: DBRev 22.12.00.029
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-05 10:18:55 -03:00

12 lines
409 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33197",
description => "Rename GDPR_Policy system preference",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{UPDATE systempreferences set variable = "PrivacyPolicyConsent" WHERE variable = "GDPR_Policy"});
say $out "Rename system preference GDPR_Policy to PrivacyPolicyConsent";
},
};