@Override
    public List<UniqueKey<PermissionDocIdRecord>> getUniqueKeys() {
        return Arrays.asList(Keys.KEY_PERMISSION_DOC_ID_PERMISSION_DOC_ID_PERMISSION_IDX);
    }
Create a <code>stroom.permission_doc_id</code> table reference
stroom-security/stroom-security-impl-db-jooq/src/main/java/stroom/security/impl/db/jooq/tables/PermissionDocId.java