set autoPK to false if a primary key is manually defined