From 69db045837ce94edeb6d7a605eef188844d38819 Mon Sep 17 00:00:00 2001 From: Brendan Gallagher Date: Thu, 31 Dec 2015 20:36:30 +0000 Subject: [PATCH] Bumping the DBrev to .014 (fixed earlier DBrev too) Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com --- Koha.pm | 2 +- installer/data/mysql/updatedatabase.pl | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/Koha.pm b/Koha.pm index 9293b92428..6cfec00380 100644 --- a/Koha.pm +++ b/Koha.pm @@ -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 = "3.23.00.013"; +$VERSION = "3.23.00.014"; sub version { return $VERSION; diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 67a038ae6a..f0259342b9 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -11642,6 +11642,21 @@ if ( CheckVersion($DBversion) ) { CONSTRAINT `items_last_borrower_ibfk_1` FOREIGN KEY (`itemnumber`) REFERENCES `items` (`itemnumber`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci }); + + print "Upgrade to $DBversion done (Bug 14945 - Add the ability to store the last patron to return an item)\n"; + SetVersion($DBversion); + +} + +$DBversion = "3.23.00.014"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q{ + INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) +VALUES ('ClaimsBccCopy','0','','Bcc the ClaimAcquisition and ClaimIssues alerts','YesNo') + }); + + print "Upgrade to $DBversion done (Bug 10076 - Add Bcc syspref for claimacquisition and clamissues)\n"; + SetVersion($DBversion); } # DEVELOPER PROCESS, search for anything to execute in the db_update directory -- 2.39.5