Modify rails setup to handle add index with specified keys.