Koha/installer/data/mysql/db_revs/221200046.pl
Tomas Cohen Arazi 50e4ea7569
Bug 30358: DBRev 22.12.00.046
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-16 15:17:27 -03:00

12 lines
520 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30358",
description => "Add new system preference StripWhitespaceChars",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('StripWhitespaceChars', '0', NULL, 'Strip leading and trailing whitespace characters and inner newlines from input fields when cataloguing bibliographic and authority records.', 'YesNo') });
},
};