From 572670d377bfe11357316c4f9d69a9c5f00e5649 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Thu, 22 Jul 2010 19:27:44 -0400 Subject: [PATCH] bug 4989: set DB rev to 145 Signed-off-by: Galen Charlton --- installer/data/mysql/updatedatabase.pl | 3 ++- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 065ad821b0..a0b5c4adaa 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -3694,12 +3694,13 @@ if (C4::Context->preference('Version') < TransformToNum($DBversion)){ SetVersion ($DBversion); } -$DBversion = "3.02.00.025"; +$DBversion = "3.01.00.145"; if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE borrowers ADD KEY `guarantorid` (guarantorid);"); print "Upgrade to $DBversion done (Add index on guarantorid)\n"; SetVersion ($DBversion); } + =item DropAllForeignKeys($table) Drop all foreign keys of the table $table diff --git a/kohaversion.pl b/kohaversion.pl index 26ee160b76..63b6d31276 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -11,7 +11,7 @@ use strict; sub kohaversion { - our $VERSION = '3.01.00.144'; + our $VERSION = '3.01.00.145'; # version needs to be set this way # so that it can be picked up by Makefile.PL -- 2.39.5