@Override
    public List<ForeignKey<ExecutionHistoryRecord, ?>> getReferences() {
        return Arrays.asList(Keys.EXECUTION_HISTORY_EXECUTION_SCHEDULE_ID);
    }
Create a <code>stroom.execution_history</code> table reference
stroom-analytics/stroom-analytics-impl-db-jooq/src/main/java/stroom/analytics/impl/db/jooq/tables/ExecutionHistory.java