From 65a0be1f4ec07be7d46a5e43c0217f081da42a71 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jan 2015 10:55:19 +0100 Subject: [PATCH] [PASSED QA] Bug 5338: Add "Serials" to the report group list Signed-off-by: Paola Rossi Signed-off-by: Katrin Fischer --- installer/data/mysql/updatedatabase.pl | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 0ed56c6..18b4411 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -9793,6 +9793,17 @@ if(CheckVersion($DBversion)) { SetVersion($DBversion); } +$DBversion = "3.19.00.XXX"; +if ( CheckVersion($DBversion) ) { + $dbh->do(q| + INSERT INTO authorised_values (category, authorised_value, lib) VALUES + ('REPORT_GROUP', 'SER', 'Serials') + |); + + print "Upgrade to $DBversion done (Bug 5338 - Add Serial to the report groups)\n"; + SetVersion ($DBversion); +} + =head1 FUNCTIONS =head2 TableExists($table) -- 1.9.1