-- MariaDB supports `IF NOT EXISTS` syntax when creating indexes.
-- If an index already exists with the same name, it will not be duplicated.
-- However, you should still review your pre-existing indexes in advance
-- to make sure you do not already have one or more of the same indexes
-- defined under a different name. If so, you should omit them
-- from what you apply to your MariaDB database.

ALTER ONLINE TABLE blc_saved_payment_method ADD INDEX IF NOT EXISTS IDX84931j3o4l72echafhvl5b396 (originating_payment_id)
ALTER ONLINE TABLE blc_saved_payment_method ADD INDEX IF NOT EXISTS IDX9f7ew6enfhj96ituhk8u12n4i (owning_user_id)
ALTER ONLINE TABLE blc_payment_transaction ADD INDEX IF NOT EXISTS IDXtjvikdatat8etrnqk13yqxfdf (request_id)
ALTER ONLINE TABLE blc_notification_state ADD INDEX IF NOT EXISTS IDXvsrmtlej61uxhx0yiwpb2rcrv (acked, stopped, notification_name, change_timestamp, next_attempt)
