Koha/installer/data/mysql/db_revs/221200017.pl
Tomas Cohen Arazi 78b999842c
Bug 31123: DBRev 22.12.00.017
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-04-06 10:45:02 -03:00

14 lines
454 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "31123",
description => "Add `ContentWarningField` preference",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` )
VALUES ('ContentWarningField', '', NULL, 'MARC field to use for content warnings', 'Free')
});
},
};