Changing the type of OID to uint in all places, to match PostgreSQL.