get_index, models and migration changes