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