From d7ef756e7c40dbbd1628da1f946ae93eeecde57f Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 18 Dec 2023 10:05:39 -0300 Subject: [PATCH] Bug 35413: DB update Signed-off-by: Tomas Cohen Arazi --- .../data/mysql/atomicupdate/bug_35413.pl | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 installer/data/mysql/atomicupdate/bug_35413.pl diff --git a/installer/data/mysql/atomicupdate/bug_35413.pl b/installer/data/mysql/atomicupdate/bug_35413.pl new file mode 100755 index 00000000000..ef1672819b3 --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_35413.pl @@ -0,0 +1,20 @@ +use Modern::Perl; + +return { + bug_number => "35413", + description => "Terminology: Manage issues (issue_manage)", + up => sub { + my ($args) = @_; + my ( $dbh, $out ) = @$args{qw(dbh out)}; + + $dbh->do( + q{ + UPDATE permissions + SET description='Manage vendor issues' + WHERE code='issue_manage' + } + ); + + say $out "Updated permission 'issue_manage' description with 'Manage vendor issues'"; + }, +}; -- 2.43.0