From 73206e770a14ca555b57ba96a725857900bc523a 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 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- 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 70579df642..34d8f63fc9 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -10445,6 +10445,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); +} + # DEVELOPER PROCESS, search for anything to execute in the db_update directory # SEE bug 13068 # if there is anything in the atomicupdate, read and execute it. -- 2.39.5