Koha/installer/data/mysql/db_revs/220600082.pl
Tomas Cohen Arazi b61df924bf
Bug 30250: DBRev 22.06.00.082
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-11-09 14:18:07 -03:00

17 lines
708 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30250",
description => "Add new system preference ApplyFrameworkDefaults",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type)
VALUES ('ApplyFrameworkDefaults', 'new', "new|duplicate|changed|imported", "Configure when to apply framework default values - when cataloguing a new record, or when editing a record as new (duplicating), or when changing framework, or when importing a record", 'multiple')
});
say $out "Added new system preference 'ApplyFrameworkDefaults'";
},
};