Revert "bug fix"

This reverts commit 1f87db18a26a0139831c7fba005800d18accc9c5.
Revert "update indexes fix"

This reverts commit 4dde3c75b5cb4c95914321508855bb5904cb6a3a.
Revert "Making a general class for index creation / deletion / migration"

This reverts commit f926ce0af95c37253dec43d46d5b26c9cee94dcb.