set first column as primary key, if pk not set