From d4afa2d510c84737d3027d7a8f25cf5480897263 Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Thu, 21 Mar 2013 20:41:12 -0400 Subject: [PATCH] Bug 8220: Increment version number Database update for bug 8220 has been given version 3.11.00.110 --- installer/data/mysql/updatedatabase.pl | 16 ++++++++-------- kohaversion.pl | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 8cb05398ff..e0bcad0b5d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -6528,14 +6528,6 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { print "Upgrade to $DBversion done (3.12-alpha release)\n"; } -$DBversion = "3.11.00.XXX"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do("ALTER TABLE `pending_offline_operations` CHANGE `barcode` `barcode` VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL"); - $dbh->do("ALTER TABLE `pending_offline_operations` ADD `amount` DECIMAL( 28, 6 ) NULL DEFAULT NULL"); - print "Upgrade to $DBversion done (Bug 8220 - Allow koc uploads to go to process queue)\n"; - SetVersion ($DBversion); -} - $DBversion = "3.11.00.101"; if ( CheckVersion($DBversion) ) { $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('UNIMARCAuthorsFacetsSeparator',', ', 'UNIMARC authors facets separator', NULL, 'short')"); @@ -6683,6 +6675,14 @@ if ( CheckVersion($DBversion) ) { SetVersion ($DBversion); } +$DBversion = "3.11.00.110"; +if ( CheckVersion($DBversion) ) { + $dbh->do("ALTER TABLE pending_offline_operations CHANGE barcode barcode VARCHAR( 20 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL"); + $dbh->do("ALTER TABLE pending_offline_operations ADD amount DECIMAL( 28, 6 ) NULL DEFAULT NULL"); + print "Upgrade to $DBversion done (Bug 8220 - Allow koc uploads to go to process queue)\n"; + SetVersion ($DBversion); +} + =head1 FUNCTIONS diff --git a/kohaversion.pl b/kohaversion.pl index fc5fbd84be..6e0c22e257 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.11.00.109'; + our $VERSION = '3.11.00.110'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.20.1