Skip to content

Commit

Permalink
drop index only if exists
Browse files Browse the repository at this point in the history
  • Loading branch information
metas-rc committed Jul 19, 2021
1 parent 8ba3a84 commit 523a894
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1,5 +1,5 @@
-- since we can have a duplicate payment set, we need to drop the index
drop index esr_importline_payment_uq;
drop index if exists esr_importline_payment_uq;

UPDATE ad_column SET readonlylogic = '@ESR_Payment_Action@ = F | @ESR_Payment_Action@ = C | (@C_Payment_ID@ < 1 & @ESR_Payment_Action@ != P) | @Processed@ = Y
| (@ESR_Payment_Action@ = A & @ESR_Invoice_Openamt@ = 0) ' WHERE ad_column_id = 548689;

0 comments on commit 523a894

Please sign in to comment.