Bug 19790: DBRev 17.12.00.014

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-02-12 17:55:00 -03:00
parent 15b46699d5
commit 1c5633b0ea
3 changed files with 8 additions and 7 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 = "17.12.00.013";
$VERSION = "17.12.00.014";
sub version {
return $VERSION;

View file

@ -1,6 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( "UPDATE marc_subfield_structure SET kohafield=NULL where kohafield='additionalauthors.author'" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 19790 - Remove additionalauthors.author from installer files)\n";
}

View file

@ -15347,6 +15347,13 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 20175 - Set DEFAULT NULL value for club_enrollments.date_created)\n";
}
$DBversion = '17.12.00.014';
if( CheckVersion( $DBversion ) ) {
$dbh->do( "UPDATE marc_subfield_structure SET kohafield=NULL where kohafield='additionalauthors.author'" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 19790 - Remove additionalauthors.author from installer files)\n";
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.