migration for db indexes