Closed gordan-bobic closed 9 months ago
What do you mean by "selectively apply this"? You mean leave an option to decide whether to add this index or not when doing SSM upgrade? like adding an environment variable
I mean we should only apply it if it doesn't already exist, because on future upgrades it may already exist depending on what version we are upgrading from/to.
OK, got it.
The query in question is this one:
The index improvement is this one:
How do we selectively apply this (using migrations only if it hasn't been done yet?