001package com.echothree.model.jooq.server.keys.graphql; 002 003import com.echothree.model.jooq.server.KeyRegistry; 004import com.echothree.model.jooq.server.records.graphql.IdempotentResponses; 005import com.echothree.model.jooq.server.records.user.UserVisits; 006 007import org.jooq.ForeignKey; 008import org.jooq.TableField; 009import org.jooq.impl.DSL; 010import org.jooq.impl.Internal; 011import org.jooq.impl.QOM.ForeignKeyRule; 012 013/** 014 * Key definitions for the GraphQlForeign component. 015 */ 016public interface GraphQlForeignKeys { 017 public static final ForeignKey<IdempotentResponses, UserVisits> IDEMPOTENT_RESPONSES_USER_VISIT_FK = Internal.createForeignKey(com.echothree.model.jooq.server.tables.graphql.IdempotentResponses.IdempotentResponses, DSL.name("idmprsp_uvis_uservisitid_fk"), new TableField[] { com.echothree.model.jooq.server.tables.graphql.IdempotentResponses.IdempotentResponses.USER_VISIT }, KeyRegistry.USER_VISITS_PK, new TableField[] { com.echothree.model.jooq.server.tables.user.UserVisits.UserVisits.USER_VISIT }, true, ForeignKeyRule.CASCADE, null); 018}