From 70d6b9b865c501e47172329aba5cf975eca9049c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jan 2015 10:55:19 +0100 Subject: [PATCH] Bug 5338: Add "Serials" to the report group list Signed-off-by: Paola Rossi --- 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) -- 2.1.0