Adding the index at migrate file