From a37852c7b4c70d337315e9af610197ab57173926 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 14 Jan 2015 10:55:19 +0100 Subject: [PATCH 2/2] Bug 5338: Add "Serials" to the report group list Signed-off-by: Paola Rossi --- installer/data/mysql/updatedatabase.pl | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 4653c02..36d05f9 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -9669,6 +9669,18 @@ 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.7.10.4