From e96fb82ddc22f6ab1abcba1375aefabbf9b90f0e Mon Sep 17 00:00:00 2001 From: Kirill Solomko Date: Tue, 11 Jul 2023 12:24:51 +0200 Subject: [PATCH] MT#57811 adjust 15761 drop index to "if exists" * this addresses an issue caused by 15739_not_replicated script that when not applied on the other replicated node, causes this script to break replication. "drop index if not exists" in this script addresses the issue and makes it so the both scenarios are covered. Change-Id: I8713d38ce3c4eab76b1d0b28adc6c0bd4c8260e1 --- db_scripts/diff/15761.up | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db_scripts/diff/15761.up b/db_scripts/diff/15761.up index c8345d0b..55aeb7e8 100644 --- a/db_scripts/diff/15761.up +++ b/db_scripts/diff/15761.up @@ -1,5 +1,5 @@ USE kamailio; ALTER TABLE acc - DROP KEY method_callid_idx, + DROP KEY IF EXISTS method_callid_idx, ADD KEY method_idx (method);