Bug 35063: (follow-up) Adjust dbrevs to the reference format
[koha.git] / installer / data / mysql / db_revs / 221200029.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "33197",
5     description => "Rename GDPR_Policy system preference",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         $dbh->do(q{UPDATE systempreferences set variable = "PrivacyPolicyConsent" WHERE variable = "GDPR_Policy"});
10         say $out "Rename system preference GDPR_Policy to PrivacyPolicyConsent";
11     },
12 };