only cache the primary key column in one place