LPS-39341 Adding Upgrade class for removing deprecated indexes