Bug 20245: DBRev 17.12.00.038

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2018-04-24 12:00:36 -03:00
parent 28020fae2e
commit 4e376338f1
3 changed files with 12 additions and 2 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.037";
$VERSION = "17.12.00.038";
sub version {
return $VERSION;

View File

@ -1 +0,0 @@
UPDATE language_rfc4646_to_iso639 SET iso639_2_code = 'slo' WHERE iso639_2_code = 'slk' AND rfc4646_subtag = 'sk';

View File

@ -15941,6 +15941,17 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 20073 - Add new types for Elasticsearch fields)\n";
}
$DBversion = '17.12.00.038';
if( CheckVersion( $DBversion ) ) {
$dbh->do( q{
UPDATE language_rfc4646_to_iso639 SET iso639_2_code = 'slo' WHERE iso639_2_code = 'slk' AND rfc4646_subtag = 'sk';
} );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 20245 - Use Bibliographic code value for Slovak language)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.