migrate file for adding index to year_to