Plugin reverts all custom indices
-
Hello there,
I have added a custom index to the
wp_comments
table that is specific to the site custom functionality. It improves the speed of the query (that runs quite often) from ~4s to ~100ms. So it’s substantial.Now, every plugin update rewrites them effectively dropping my custom index. Not good.
I do want to add your indices but also keep mine without the need to re-add it every single time.
Can your plugin instead of dropping all indices – drop only own indices (by name) and recreate them? This way custom one will be left as is.
Thank you.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.