Bug 29073: DBRev 21.06.00.024
[koha.git] / installer / data / mysql / db_revs / 210600024.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "29073",
5     description => "Make DefaultHoldExpirationdate use 1/0 values",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         $dbh->do(q{
10             UPDATE systempreferences SET value = IF(value = 'yes',1,0)
11             WHERE variable = 'DefaultHoldExpirationdate';
12         });
13     },
14 }