-- YugabyteDb 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 YugabyteDb database. CREATE INDEX IF NOT EXISTS idx11w4lbb6dq08vd5cax3vwdxfp ON blc_cart_action_audit(cart_id); CREATE INDEX IF NOT EXISTS idxshjakfpir3s16ekiue6se3t2r ON blc_cart_action_audit(user_id); CREATE INDEX IF NOT EXISTS idxq4k2t0jkcakobxti7xodu2wk3 ON blc_cart_action_audit(trk_application_context_id); CREATE INDEX IF NOT EXISTS idx5lfxabd3jf78hwn9lxk8yo79o ON blc_cart(account_id); CREATE INDEX IF NOT EXISTS idxf1tnxw2eyvqr2je7ayoqpddu4 ON blc_cart(root_account_id);