Browse Source

Bug 29137: DBRev 21.05.04.003

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
21.05.x
Kyle Hall 3 years ago
parent
commit
3987d23cbc
  1. 2
      Koha.pm
  2. 15
      installer/data/mysql/atomicupdate/bug_29137.pl
  3. 9
      installer/data/mysql/updatedatabase.pl

2
Koha.pm

@ -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 = "21.05.04.001";
$VERSION = "21.05.04.003";
sub version {
return $VERSION;

15
installer/data/mysql/atomicupdate/bug_29137.pl

@ -1,15 +0,0 @@
use Modern::Perl;
return {
bug_number => "29137",
description => "Add system preference CreateAVFromCataloguing",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do( q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type)
VALUES ('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo')
});
},
}

9
installer/data/mysql/updatedatabase.pl

@ -24506,6 +24506,15 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 28826, "Add system preference FacetOrder");
}
$DBversion = '21.05.04.003';
if( CheckVersion( $DBversion ) ) {
$dbh->do( q{
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type)
VALUES ('CreateAVFromCataloguing', '1', '', 'Ability to create authorized values from the cataloguing module', 'YesNo')
});
NewVersion( $DBversion, 29137, "Add system preference CreateAVFromCataloguing");
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';

Loading…
Cancel
Save