From 995f32f4a1fd74d8798d3942de3bf65f73483cff Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Fri, 8 Jul 2022 16:19:35 -0300 Subject: [PATCH] Bug 24857: (QA follow-up) Make update idempotent Signed-off-by: Tomas Cohen Arazi --- installer/data/mysql/atomicupdate/bug_24857_item_groups.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installer/data/mysql/atomicupdate/bug_24857_item_groups.pl b/installer/data/mysql/atomicupdate/bug_24857_item_groups.pl index 1e6d87e2e6..ae8593afdd 100755 --- a/installer/data/mysql/atomicupdate/bug_24857_item_groups.pl +++ b/installer/data/mysql/atomicupdate/bug_24857_item_groups.pl @@ -13,7 +13,7 @@ return { }); $dbh->do(q{ - INSERT INTO permissions (module_bit, code, description) VALUES + INSERT IGNORE INTO permissions (module_bit, code, description) VALUES ( 9, 'manage_item_groups', 'Create, update and delete item groups, add or remove items from a item groups'); }); -- 2.39.5