Bug 21260: DBRev 20.12.00.031

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2021-04-14 14:07:07 +00:00
parent b795660540
commit 49a795ceb3
3 changed files with 11 additions and 9 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 = "20.12.00.030";
$VERSION = "20.12.00.031";
sub version {
return $VERSION;

View File

@ -1,8 +0,0 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type)
VALUES ('Reference_NFL_Statuses','1|2',NULL,'Contains not for loan statuses considered as available for reference','Free')
});
NewVersion( $DBversion, 21260, "Add preference Reference_NFL_Statuses");
}

View File

@ -23807,6 +23807,16 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, 21549, "Add new system preference LockExpiredDelay");
}
$DBversion = '20.12.00.031';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{
INSERT IGNORE INTO systempreferences (variable, value, explanation, options, type)
VALUES ('Reference_NFL_Statuses','1|2',NULL,'Contains not for loan statuses considered as available for reference','Free')
});
NewVersion( $DBversion, 21260, "Add new system preference Reference_NFL_Statuses");
}
# 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/';