extend the dbmng_fields adding pk fields