Bug 33716: (QA follow-up) Add atomic update file
Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
53a08bcbe6
commit
4c516eb81b
1 changed files with 20 additions and 0 deletions
20
installer/data/mysql/atomicupdate/bug_33716.pl
Executable file
20
installer/data/mysql/atomicupdate/bug_33716.pl
Executable file
|
@ -0,0 +1,20 @@
|
|||
use Modern::Perl;
|
||||
|
||||
return {
|
||||
bug_number => "33716",
|
||||
description => "Add new ILLModuleDisclaimerByType system 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 (
|
||||
'ILLModuleDisclaimerByType', '', '', 'YAML defining disclaimer settings for each ILL request type',
|
||||
'Textarea'
|
||||
);
|
||||
}
|
||||
);
|
||||
say $out "Added new system preference 'ILLModuleDisclaimerByType'";
|
||||
},
|
||||
};
|
Loading…
Reference in a new issue