Browse Source

Bug 19882: DBRev 17.12.00.030

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
18.05.x
Jonathan Druart 4 years ago
parent
commit
274974fdb8
  1. 2
      Koha.pm
  2. 7
      installer/data/mysql/atomicupdate/bug_19882_Add_novelist_staff_client_profile.perl
  3. 11
      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 = "17.12.00.029";
$VERSION = "17.12.00.030";
sub version {
return $VERSION;

7
installer/data/mysql/atomicupdate/bug_19882_Add_novelist_staff_client_profile.perl

@ -1,7 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do("INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) VALUES ('NovelistSelectStaffProfile',NULL,'Novelist staff client user Profile',NULL,'free')");
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 19882 - Add Novelist Staff Client Profile)\n";
}

11
installer/data/mysql/updatedatabase.pl

@ -15818,6 +15818,17 @@ unimarc, *, ind1:auth1, ind2:auth2|;
print "Upgrade to $DBversion done (Bug 14769 - Authorities merge: Set correct indicators in biblio field (new system preference AuthorityControlledIndicators))\n";
}
$DBversion = '17.12.00.030';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES ('NovelistSelectStaffProfile',NULL,'Novelist staff client user Profile',NULL,'free')
|);
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 19882 - Add system preference NovelistSelectStaffProfile)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.

Loading…
Cancel
Save