Table funds now has index as primary key