From eb2c2bee378e871fc50733c499588f12dbe515a0 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 13 Apr 2015 10:14:24 -0300 Subject: [PATCH] Bug 11008: DBRev 3.19.00.020 --- installer/data/mysql/updatedatabase.pl | 18 +++++++++--------- kohaversion.pl | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 602544723a..bdc3abfaf1 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -9573,15 +9573,6 @@ if( CheckVersion($DBversion) ){ $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('DefaultLongOverdueLostValue', 'Set the LOST value of an item to n when the item has been overdue for more than defaultlongoverduedays days.', 'integer')"); $dbh->do("INSERT INTO systempreferences (variable, explanation, type) VALUES('DefaultLongOverdueDays', 'Set the LOST value of an item when the item has been overdue for more than n days.', 'integer')"); print "Upgrade to $DBversion done (Bug 8337: System preferences for longoverdue cron)\n"; -} - -$DBversion = "3.17.00.XXX"; -if ( CheckVersion($DBversion) ) { - $dbh->do(q| - ALTER TABLE aqorders DROP COLUMN supplierreference; - |); - - print "Upgrade to $DBversion done (Bug 11008 - DROP column aqorders.supplierreference)\n"; SetVersion($DBversion); } @@ -9987,6 +9978,15 @@ if ( CheckVersion($DBversion) ) { SetVersion($DBversion); } +$DBversion = "3.19.00.020"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q| + ALTER TABLE aqorders DROP COLUMN supplierreference; + |); + + print "Upgrade to $DBversion done (Bug 11008: DROP column aqorders.supplierreference)\n"; + SetVersion($DBversion); +} # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 diff --git a/kohaversion.pl b/kohaversion.pl index 4c2db81395..7d3832e6a3 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -17,7 +17,7 @@ the kohaversion is divided in 4 parts : use strict; sub kohaversion { - our $VERSION = '3.19.00.019'; + our $VERSION = '3.19.00.020'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5