From 239e890b9d06942f68a3a6f78355d6ecae09e7ac Mon Sep 17 00:00:00 2001 From: Henri-Damien LAURENT Date: Wed, 4 Nov 2009 10:02:17 +0100 Subject: [PATCH] removing database revision 124 Revisions 124 and 123 were the same --- installer/data/mysql/updatedatabase.pl | 14 ++------------ kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 519fa4f4dd..3dd731913d 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3153,21 +3153,11 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { ALTER TABLE aqbasketgroups ADD deliveryplace VARCHAR(10), deliverycomment VARCHAR(255); }); - print "Upgrade to $DBversion done (isbd updated)\n"; + print "Upgrade to $DBversion done (adding deliveryplace deliverycomment to basketgroups)\n"; SetVersion ($DBversion); } $DBversion = "3.01.00.124"; -if (C4::Context->preference("Version") < TransformToNum($DBversion)) { - $dbh->do(qq{ - ALTER TABLE aqbasketgroups ADD deliveryplace VARCHAR(10), deliverycomment VARCHAR(255); - }); - - print "Upgrade to $DBversion done (isbd updated)\n"; - SetVersion ($DBversion); -} - -$DBversion = "3.01.00.125"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do(qq{ ALTER TABLE items ADD stocknumber VARCHAR(32) DEFAULT NULL COMMENT "stores the inventory number"; @@ -3192,7 +3182,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { SetVersion ($DBversion); } -$DBversion = "3.01.00.126"; +$DBversion = "3.01.00.125"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("INSERT INTO systempreferences (variable,value,explanation,options,type) VALUES ('OrderPdfTemplate','','Uploads a PDF template','NULL','Upload')"); $dbh->do("UPDATE systempreferences SET variable='OrderPdfFormat' WHERE variable='pdfformat'"); diff --git a/kohaversion.pl b/kohaversion.pl index 9c71819459..de92273ea4 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -10,7 +10,7 @@ use strict; sub kohaversion { - our $VERSION = '3.01.00.126'; + our $VERSION = '3.01.00.125'; # version needs to be set this way # so that it can be picked up by Makefile.PL # during install -- 2.39.5