Bug 30250: DBRev 22.06.00.082

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Tomas Cohen Arazi 2022-11-09 14:18:07 -03:00
parent 73865a6072
commit b61df924bf
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
3 changed files with 18 additions and 13 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "22.06.00.081";
$VERSION = "22.06.00.082";
sub version {
return $VERSION;

View File

@ -1,12 +0,0 @@
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') });
},
};

View File

@ -0,0 +1,17 @@
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'";
},
};