db2:fix to stop recreating foreign keys/bool/rational fields (chk pg select count(*) for fkeys)