All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.netflix.spinnaker.keel.persistence.metamodel.Keys Maven / Gradle / Ivy

There is a newer version: 1.4.1
Show newest version
/*
 * This file is generated by jOOQ.
 */
package com.netflix.spinnaker.keel.persistence.metamodel;


import com.netflix.spinnaker.keel.persistence.metamodel.tables.ActionState;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ActiveEnvironmentVersion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.AgentLock;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ArtifactLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ArtifactVersions;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.BakedImages;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.CurrentConstraint;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryArtifact;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryConfig;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryConfigArtifact;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DeliveryConfigLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DiffFingerprint;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.DismissibleNotification;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Environment;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactConstraint;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactPin;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactQueuedApproval;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactVersions;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentArtifactVeto;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentDeletion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentLastPostDeploy;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentLastVerified;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentLease;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentResource;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentVersion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.EnvironmentVersionArtifactVersion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Event;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.LifecycleEvent;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.LifecycleMonitor;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Notification;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Paused;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.PreviewEnvironment;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Resource;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ResourceLastChecked;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.ResourceVersion;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.TaskTracking;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.UnhappyVeto;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.Unhealthy;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.WorkQueue;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ActionStateRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ActiveEnvironmentVersionRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.AgentLockRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ArtifactLastCheckedRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ArtifactVersionsRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.BakedImagesRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.CurrentConstraintRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DeliveryArtifactRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DeliveryConfigArtifactRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DeliveryConfigLastCheckedRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DeliveryConfigRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DiffFingerprintRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.DismissibleNotificationRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentArtifactConstraintRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentArtifactPinRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentArtifactQueuedApprovalRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentArtifactVersionsRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentArtifactVetoRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentDeletionRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentLastPostDeployRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentLastVerifiedRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentLeaseRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentResourceRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentVersionArtifactVersionRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EnvironmentVersionRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.EventRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.LifecycleEventRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.LifecycleMonitorRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.NotificationRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.PausedRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.PreviewEnvironmentRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ResourceLastCheckedRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ResourceRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.ResourceVersionRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.TaskTrackingRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.UnhappyVetoRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.UnhealthyRecord;
import com.netflix.spinnaker.keel.persistence.metamodel.tables.records.WorkQueueRecord;

import javax.annotation.processing.Generated;

import org.jooq.ForeignKey;
import org.jooq.TableField;
import org.jooq.UniqueKey;
import org.jooq.impl.Internal;


/**
 * A class modelling foreign key relationships and constraints of tables of 
 * the keel schema.
 */
@Generated(
    value = {
        "https://www.jooq.org",
        "jOOQ version:3.13.6"
    },
    comments = "This class is generated by jOOQ"
)
@SuppressWarnings({ "all", "unchecked", "rawtypes" })
public class Keys {

    // -------------------------------------------------------------------------
    // IDENTITY definitions
    // -------------------------------------------------------------------------


    // -------------------------------------------------------------------------
    // UNIQUE and PRIMARY KEY definitions
    // -------------------------------------------------------------------------

    public static final UniqueKey KEY_ACTION_STATE_PRIMARY = UniqueKeys0.KEY_ACTION_STATE_PRIMARY;
    public static final UniqueKey KEY_ACTIVE_ENVIRONMENT_VERSION_PRIMARY = UniqueKeys0.KEY_ACTIVE_ENVIRONMENT_VERSION_PRIMARY;
    public static final UniqueKey KEY_AGENT_LOCK_PRIMARY = UniqueKeys0.KEY_AGENT_LOCK_PRIMARY;
    public static final UniqueKey KEY_ARTIFACT_LAST_CHECKED_PRIMARY = UniqueKeys0.KEY_ARTIFACT_LAST_CHECKED_PRIMARY;
    public static final UniqueKey KEY_ARTIFACT_VERSIONS_PRIMARY = UniqueKeys0.KEY_ARTIFACT_VERSIONS_PRIMARY;
    public static final UniqueKey KEY_BAKED_IMAGES_BAKED_IMAGES_PRIMARY_IDX = UniqueKeys0.KEY_BAKED_IMAGES_BAKED_IMAGES_PRIMARY_IDX;
    public static final UniqueKey KEY_CURRENT_CONSTRAINT_PRIMARY = UniqueKeys0.KEY_CURRENT_CONSTRAINT_PRIMARY;
    public static final UniqueKey KEY_DELIVERY_ARTIFACT_PRIMARY = UniqueKeys0.KEY_DELIVERY_ARTIFACT_PRIMARY;
    public static final UniqueKey KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_FINGERPRINT_IDX = UniqueKeys0.KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_FINGERPRINT_IDX;
    public static final UniqueKey KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_BYREF_IDX = UniqueKeys0.KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_BYREF_IDX;
    public static final UniqueKey KEY_DELIVERY_CONFIG_PRIMARY = UniqueKeys0.KEY_DELIVERY_CONFIG_PRIMARY;
    public static final UniqueKey KEY_DELIVERY_CONFIG_NAME = UniqueKeys0.KEY_DELIVERY_CONFIG_NAME;
    public static final UniqueKey KEY_DELIVERY_CONFIG_DELIVERY_CONFIG_APPLICATION_IDX = UniqueKeys0.KEY_DELIVERY_CONFIG_DELIVERY_CONFIG_APPLICATION_IDX;
    public static final UniqueKey KEY_DELIVERY_CONFIG_ARTIFACT_PRIMARY = UniqueKeys0.KEY_DELIVERY_CONFIG_ARTIFACT_PRIMARY;
    public static final UniqueKey KEY_DELIVERY_CONFIG_LAST_CHECKED_PRIMARY = UniqueKeys0.KEY_DELIVERY_CONFIG_LAST_CHECKED_PRIMARY;
    public static final UniqueKey KEY_DIFF_FINGERPRINT_PRIMARY = UniqueKeys0.KEY_DIFF_FINGERPRINT_PRIMARY;
    public static final UniqueKey KEY_DISMISSIBLE_NOTIFICATION_PRIMARY = UniqueKeys0.KEY_DISMISSIBLE_NOTIFICATION_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_ENVIRONMENT_DELIVERY_CONFIG_NAME_IDX = UniqueKeys0.KEY_ENVIRONMENT_ENVIRONMENT_DELIVERY_CONFIG_NAME_IDX;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_CONSTRAINT_UNIQUE = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_CONSTRAINT_UNIQUE;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_PIN_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_PIN_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_VERSIONS_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_VERSIONS_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_VETO_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_ARTIFACT_VETO_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_DELETION_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_DELETION_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_LAST_POST_DEPLOY_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_LAST_POST_DEPLOY_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_LAST_VERIFIED_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_LAST_VERIFIED_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_LEASE_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_LEASE_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_RESOURCE_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_RESOURCE_PRIMARY;
    public static final UniqueKey KEY_ENVIRONMENT_VERSION_ENVIRONMENT_VERSION_ENVIRONMENT_UID_VERSION_IDX = UniqueKeys0.KEY_ENVIRONMENT_VERSION_ENVIRONMENT_VERSION_ENVIRONMENT_UID_VERSION_IDX;
    public static final UniqueKey KEY_ENVIRONMENT_VERSION_ARTIFACT_VERSION_PRIMARY = UniqueKeys0.KEY_ENVIRONMENT_VERSION_ARTIFACT_VERSION_PRIMARY;
    public static final UniqueKey KEY_EVENT_PRIMARY = UniqueKeys0.KEY_EVENT_PRIMARY;
    public static final UniqueKey KEY_LIFECYCLE_EVENT_PRIMARY = UniqueKeys0.KEY_LIFECYCLE_EVENT_PRIMARY;
    public static final UniqueKey KEY_LIFECYCLE_MONITOR_PRIMARY = UniqueKeys0.KEY_LIFECYCLE_MONITOR_PRIMARY;
    public static final UniqueKey KEY_NOTIFICATION_PRIMARY = UniqueKeys0.KEY_NOTIFICATION_PRIMARY;
    public static final UniqueKey KEY_PAUSED_PRIMARY = UniqueKeys0.KEY_PAUSED_PRIMARY;
    public static final UniqueKey KEY_PREVIEW_ENVIRONMENT_PRIMARY = UniqueKeys0.KEY_PREVIEW_ENVIRONMENT_PRIMARY;
    public static final UniqueKey KEY_RESOURCE_PRIMARY = UniqueKeys0.KEY_RESOURCE_PRIMARY;
    public static final UniqueKey KEY_RESOURCE_RESOURCE_ID_VERSION_IDX = UniqueKeys0.KEY_RESOURCE_RESOURCE_ID_VERSION_IDX;
    public static final UniqueKey KEY_RESOURCE_LAST_CHECKED_PRIMARY = UniqueKeys0.KEY_RESOURCE_LAST_CHECKED_PRIMARY;
    public static final UniqueKey KEY_RESOURCE_VERSION_PRIMARY = UniqueKeys0.KEY_RESOURCE_VERSION_PRIMARY;
    public static final UniqueKey KEY_TASK_TRACKING_PRIMARY = UniqueKeys0.KEY_TASK_TRACKING_PRIMARY;
    public static final UniqueKey KEY_UNHAPPY_VETO_PRIMARY = UniqueKeys0.KEY_UNHAPPY_VETO_PRIMARY;
    public static final UniqueKey KEY_UNHEALTHY_PRIMARY = UniqueKeys0.KEY_UNHEALTHY_PRIMARY;
    public static final UniqueKey KEY_WORK_QUEUE_PRIMARY = UniqueKeys0.KEY_WORK_QUEUE_PRIMARY;

    // -------------------------------------------------------------------------
    // FOREIGN KEY definitions
    // -------------------------------------------------------------------------

    public static final ForeignKey FK_VERIFICATION_STATE_ENVIRONMENT = ForeignKeys0.FK_VERIFICATION_STATE_ENVIRONMENT;
    public static final ForeignKey FK_VERIFICATION_STATE_DELIVERY_ARTIFACT = ForeignKeys0.FK_VERIFICATION_STATE_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ARTIFACT_LAST_CHECKED_DELIVERY_ARTIFACT = ForeignKeys0.FK_ARTIFACT_LAST_CHECKED_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_CURRENT_CONSTRAINT_ENVIRONMENT = ForeignKeys0.FK_CURRENT_CONSTRAINT_ENVIRONMENT;
    public static final ForeignKey FK_CURRENT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT = ForeignKeys0.FK_CURRENT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT;
    public static final ForeignKey FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_CONFIG = ForeignKeys0.FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_CONFIG;
    public static final ForeignKey FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_ARTIFACT = ForeignKeys0.FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG = ForeignKeys0.FK_DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG;
    public static final ForeignKey FK_ENVIRONMENT_DELIVERY_CONFIG = ForeignKeys0.FK_ENVIRONMENT_DELIVERY_CONFIG;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_PIN_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_PIN_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_PIN_DELIVERY_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_PIN_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VERSIONS_DELIVERY_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_VERSIONS_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VETO_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_VETO_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VETO_DELIVERY_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_ARTIFACT_VETO_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ENVIRONMENT_DELETION_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_DELETION_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_LAST_POST_DEPLOY_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_LAST_POST_DEPLOY_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_LAST_POST_DEPLOY_DELIVERY_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_LAST_POST_DEPLOY_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ENVIRONMENT_LAST_VERIFIED_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_LAST_VERIFIED_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_LAST_VERIFIED_DELIVERY_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_LAST_VERIFIED_DELIVERY_ARTIFACT;
    public static final ForeignKey FK_ENVIRONMENT_LEASE_ENVIRONMENT_UID = ForeignKeys0.FK_ENVIRONMENT_LEASE_ENVIRONMENT_UID;
    public static final ForeignKey FK_ENVIRONMENT_RESOURCE_ENVIRONMENT_VERSION = ForeignKeys0.FK_ENVIRONMENT_RESOURCE_ENVIRONMENT_VERSION;
    public static final ForeignKey FK_ENVIRONMENT_RESOURCE_RESOURCE_VERSION = ForeignKeys0.FK_ENVIRONMENT_RESOURCE_RESOURCE_VERSION;
    public static final ForeignKey FK_ENVIRONMENT_VERSION_ENVIRONMENT = ForeignKeys0.FK_ENVIRONMENT_VERSION_ENVIRONMENT;
    public static final ForeignKey FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ENVIRONMENT_VERSION = ForeignKeys0.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ENVIRONMENT_VERSION;
    public static final ForeignKey FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ARTIFACT = ForeignKeys0.FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ARTIFACT;
    public static final ForeignKey FK_TRIGGERING_EVENT_UID = ForeignKeys0.FK_TRIGGERING_EVENT_UID;
    public static final ForeignKey FK_PREVIEW_ENVIRONMENT_DELIVERY_CONFIG = ForeignKeys0.FK_PREVIEW_ENVIRONMENT_DELIVERY_CONFIG;
    public static final ForeignKey FK_PREVIEW_ENVIRONMENT_ENVIRONMENT = ForeignKeys0.FK_PREVIEW_ENVIRONMENT_ENVIRONMENT;
    public static final ForeignKey FK_RESOURCE_LAST_CHECKED_RESOURCE = ForeignKeys0.FK_RESOURCE_LAST_CHECKED_RESOURCE;
    public static final ForeignKey FK_RESOURCE_VERSION_RESOURCE = ForeignKeys0.FK_RESOURCE_VERSION_RESOURCE;
    public static final ForeignKey FK_UNHAPPY_VETO_RESOURCE = ForeignKeys0.FK_UNHAPPY_VETO_RESOURCE;
    public static final ForeignKey FK_UNHEALTHY_RESOURCE = ForeignKeys0.FK_UNHEALTHY_RESOURCE;

    // -------------------------------------------------------------------------
    // [#1459] distribute members to avoid static initialisers > 64kb
    // -------------------------------------------------------------------------

    private static class UniqueKeys0 {
        public static final UniqueKey KEY_ACTION_STATE_PRIMARY = Internal.createUniqueKey(ActionState.ACTION_STATE, "KEY_action_state_PRIMARY", new TableField[] { ActionState.ACTION_STATE.ENVIRONMENT_UID, ActionState.ACTION_STATE.ARTIFACT_UID, ActionState.ACTION_STATE.ARTIFACT_VERSION, ActionState.ACTION_STATE.ACTION_ID }, true);
        public static final UniqueKey KEY_ACTIVE_ENVIRONMENT_VERSION_PRIMARY = Internal.createUniqueKey(ActiveEnvironmentVersion.ACTIVE_ENVIRONMENT_VERSION, "KEY_active_environment_version_PRIMARY", new TableField[] { ActiveEnvironmentVersion.ACTIVE_ENVIRONMENT_VERSION.ENVIRONMENT_UID }, true);
        public static final UniqueKey KEY_AGENT_LOCK_PRIMARY = Internal.createUniqueKey(AgentLock.AGENT_LOCK, "KEY_agent_lock_PRIMARY", new TableField[] { AgentLock.AGENT_LOCK.LOCK_NAME }, true);
        public static final UniqueKey KEY_ARTIFACT_LAST_CHECKED_PRIMARY = Internal.createUniqueKey(ArtifactLastChecked.ARTIFACT_LAST_CHECKED, "KEY_artifact_last_checked_PRIMARY", new TableField[] { ArtifactLastChecked.ARTIFACT_LAST_CHECKED.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_ARTIFACT_VERSIONS_PRIMARY = Internal.createUniqueKey(ArtifactVersions.ARTIFACT_VERSIONS, "KEY_artifact_versions_PRIMARY", new TableField[] { ArtifactVersions.ARTIFACT_VERSIONS.NAME, ArtifactVersions.ARTIFACT_VERSIONS.TYPE, ArtifactVersions.ARTIFACT_VERSIONS.VERSION }, true);
        public static final UniqueKey KEY_BAKED_IMAGES_BAKED_IMAGES_PRIMARY_IDX = Internal.createUniqueKey(BakedImages.BAKED_IMAGES, "KEY_baked_images_baked_images_primary_idx", new TableField[] { BakedImages.BAKED_IMAGES.PACKAGE_VERSION, BakedImages.BAKED_IMAGES.CLOUD_PROVIDER, BakedImages.BAKED_IMAGES.BASE_OS, BakedImages.BAKED_IMAGES.BASE_LABEL }, true);
        public static final UniqueKey KEY_CURRENT_CONSTRAINT_PRIMARY = Internal.createUniqueKey(CurrentConstraint.CURRENT_CONSTRAINT, "KEY_current_constraint_PRIMARY", new TableField[] { CurrentConstraint.CURRENT_CONSTRAINT.APPLICATION, CurrentConstraint.CURRENT_CONSTRAINT.ENVIRONMENT_UID, CurrentConstraint.CURRENT_CONSTRAINT.TYPE }, true);
        public static final UniqueKey KEY_DELIVERY_ARTIFACT_PRIMARY = Internal.createUniqueKey(DeliveryArtifact.DELIVERY_ARTIFACT, "KEY_delivery_artifact_PRIMARY", new TableField[] { DeliveryArtifact.DELIVERY_ARTIFACT.UID }, true);
        public static final UniqueKey KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_FINGERPRINT_IDX = Internal.createUniqueKey(DeliveryArtifact.DELIVERY_ARTIFACT, "KEY_delivery_artifact_delivery_artifact_fingerprint_idx", new TableField[] { DeliveryArtifact.DELIVERY_ARTIFACT.FINGERPRINT }, true);
        public static final UniqueKey KEY_DELIVERY_ARTIFACT_DELIVERY_ARTIFACT_BYREF_IDX = Internal.createUniqueKey(DeliveryArtifact.DELIVERY_ARTIFACT, "KEY_delivery_artifact_delivery_artifact_byref_idx", new TableField[] { DeliveryArtifact.DELIVERY_ARTIFACT.DELIVERY_CONFIG_NAME, DeliveryArtifact.DELIVERY_ARTIFACT.REFERENCE }, true);
        public static final UniqueKey KEY_DELIVERY_CONFIG_PRIMARY = Internal.createUniqueKey(DeliveryConfig.DELIVERY_CONFIG, "KEY_delivery_config_PRIMARY", new TableField[] { DeliveryConfig.DELIVERY_CONFIG.UID }, true);
        public static final UniqueKey KEY_DELIVERY_CONFIG_NAME = Internal.createUniqueKey(DeliveryConfig.DELIVERY_CONFIG, "KEY_delivery_config_name", new TableField[] { DeliveryConfig.DELIVERY_CONFIG.NAME }, true);
        public static final UniqueKey KEY_DELIVERY_CONFIG_DELIVERY_CONFIG_APPLICATION_IDX = Internal.createUniqueKey(DeliveryConfig.DELIVERY_CONFIG, "KEY_delivery_config_delivery_config_application_idx", new TableField[] { DeliveryConfig.DELIVERY_CONFIG.APPLICATION }, true);
        public static final UniqueKey KEY_DELIVERY_CONFIG_ARTIFACT_PRIMARY = Internal.createUniqueKey(DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT, "KEY_delivery_config_artifact_PRIMARY", new TableField[] { DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT.DELIVERY_CONFIG_UID, DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_DELIVERY_CONFIG_LAST_CHECKED_PRIMARY = Internal.createUniqueKey(DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED, "KEY_delivery_config_last_checked_PRIMARY", new TableField[] { DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED.DELIVERY_CONFIG_UID }, true);
        public static final UniqueKey KEY_DIFF_FINGERPRINT_PRIMARY = Internal.createUniqueKey(DiffFingerprint.DIFF_FINGERPRINT, "KEY_diff_fingerprint_PRIMARY", new TableField[] { DiffFingerprint.DIFF_FINGERPRINT.ENTITY_ID }, true);
        public static final UniqueKey KEY_DISMISSIBLE_NOTIFICATION_PRIMARY = Internal.createUniqueKey(DismissibleNotification.DISMISSIBLE_NOTIFICATION, "KEY_dismissible_notification_PRIMARY", new TableField[] { DismissibleNotification.DISMISSIBLE_NOTIFICATION.UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_PRIMARY = Internal.createUniqueKey(Environment.ENVIRONMENT, "KEY_environment_PRIMARY", new TableField[] { Environment.ENVIRONMENT.UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ENVIRONMENT_DELIVERY_CONFIG_NAME_IDX = Internal.createUniqueKey(Environment.ENVIRONMENT, "KEY_environment_environment_delivery_config_name_idx", new TableField[] { Environment.ENVIRONMENT.DELIVERY_CONFIG_UID, Environment.ENVIRONMENT.NAME }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_PRIMARY = Internal.createUniqueKey(EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, "KEY_environment_artifact_constraint_PRIMARY", new TableField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_CONSTRAINT_UNIQUE = Internal.createUniqueKey(EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, "KEY_environment_artifact_constraint_constraint_unique", new TableField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ENVIRONMENT_UID, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.TYPE, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ARTIFACT_VERSION, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ARTIFACT_REFERENCE }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_PIN_PRIMARY = Internal.createUniqueKey(EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN, "KEY_environment_artifact_pin_PRIMARY", new TableField[] { EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN.ENVIRONMENT_UID, EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_PRIMARY = Internal.createUniqueKey(EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL, "KEY_environment_artifact_queued_approval_PRIMARY", new TableField[] { EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ENVIRONMENT_UID, EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ARTIFACT_VERSION }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_VERSIONS_PRIMARY = Internal.createUniqueKey(EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, "KEY_environment_artifact_versions_PRIMARY", new TableField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.ENVIRONMENT_UID, EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.ARTIFACT_UID, EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.ARTIFACT_VERSION }, true);
        public static final UniqueKey KEY_ENVIRONMENT_ARTIFACT_VETO_PRIMARY = Internal.createUniqueKey(EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO, "KEY_environment_artifact_veto_PRIMARY", new TableField[] { EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO.ENVIRONMENT_UID, EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO.ARTIFACT_UID, EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO.ARTIFACT_VERSION }, true);
        public static final UniqueKey KEY_ENVIRONMENT_DELETION_PRIMARY = Internal.createUniqueKey(EnvironmentDeletion.ENVIRONMENT_DELETION, "KEY_environment_deletion_PRIMARY", new TableField[] { EnvironmentDeletion.ENVIRONMENT_DELETION.ENVIRONMENT_UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_LAST_POST_DEPLOY_PRIMARY = Internal.createUniqueKey(EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY, "KEY_environment_last_post_deploy_PRIMARY", new TableField[] { EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY.ENVIRONMENT_UID, EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_LAST_VERIFIED_PRIMARY = Internal.createUniqueKey(EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED, "KEY_environment_last_verified_PRIMARY", new TableField[] { EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED.ENVIRONMENT_UID, EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_LEASE_PRIMARY = Internal.createUniqueKey(EnvironmentLease.ENVIRONMENT_LEASE, "KEY_environment_lease_PRIMARY", new TableField[] { EnvironmentLease.ENVIRONMENT_LEASE.UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_RESOURCE_PRIMARY = Internal.createUniqueKey(EnvironmentResource.ENVIRONMENT_RESOURCE, "KEY_environment_resource_PRIMARY", new TableField[] { EnvironmentResource.ENVIRONMENT_RESOURCE.ENVIRONMENT_UID, EnvironmentResource.ENVIRONMENT_RESOURCE.ENVIRONMENT_VERSION, EnvironmentResource.ENVIRONMENT_RESOURCE.RESOURCE_UID }, true);
        public static final UniqueKey KEY_ENVIRONMENT_VERSION_ENVIRONMENT_VERSION_ENVIRONMENT_UID_VERSION_IDX = Internal.createUniqueKey(EnvironmentVersion.ENVIRONMENT_VERSION, "KEY_environment_version_environment_version_environment_uid_version_idx", new TableField[] { EnvironmentVersion.ENVIRONMENT_VERSION.ENVIRONMENT_UID, EnvironmentVersion.ENVIRONMENT_VERSION.VERSION }, true);
        public static final UniqueKey KEY_ENVIRONMENT_VERSION_ARTIFACT_VERSION_PRIMARY = Internal.createUniqueKey(EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION, "KEY_environment_version_artifact_version_PRIMARY", new TableField[] { EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ENVIRONMENT_UID, EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ENVIRONMENT_VERSION, EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ARTIFACT_UID }, true);
        public static final UniqueKey KEY_EVENT_PRIMARY = Internal.createUniqueKey(Event.EVENT, "KEY_event_PRIMARY", new TableField[] { Event.EVENT.UID }, true);
        public static final UniqueKey KEY_LIFECYCLE_EVENT_PRIMARY = Internal.createUniqueKey(LifecycleEvent.LIFECYCLE_EVENT, "KEY_lifecycle_event_PRIMARY", new TableField[] { LifecycleEvent.LIFECYCLE_EVENT.UID }, true);
        public static final UniqueKey KEY_LIFECYCLE_MONITOR_PRIMARY = Internal.createUniqueKey(LifecycleMonitor.LIFECYCLE_MONITOR, "KEY_lifecycle_monitor_PRIMARY", new TableField[] { LifecycleMonitor.LIFECYCLE_MONITOR.UID }, true);
        public static final UniqueKey KEY_NOTIFICATION_PRIMARY = Internal.createUniqueKey(Notification.NOTIFICATION, "KEY_notification_PRIMARY", new TableField[] { Notification.NOTIFICATION.SCOPE, Notification.NOTIFICATION.REF, Notification.NOTIFICATION.TYPE }, true);
        public static final UniqueKey KEY_PAUSED_PRIMARY = Internal.createUniqueKey(Paused.PAUSED, "KEY_paused_PRIMARY", new TableField[] { Paused.PAUSED.SCOPE, Paused.PAUSED.NAME }, true);
        public static final UniqueKey KEY_PREVIEW_ENVIRONMENT_PRIMARY = Internal.createUniqueKey(PreviewEnvironment.PREVIEW_ENVIRONMENT, "KEY_preview_environment_PRIMARY", new TableField[] { PreviewEnvironment.PREVIEW_ENVIRONMENT.DELIVERY_CONFIG_UID, PreviewEnvironment.PREVIEW_ENVIRONMENT.BASE_ENVIRONMENT_UID }, true);
        public static final UniqueKey KEY_RESOURCE_PRIMARY = Internal.createUniqueKey(Resource.RESOURCE, "KEY_resource_PRIMARY", new TableField[] { Resource.RESOURCE.UID }, true);
        public static final UniqueKey KEY_RESOURCE_RESOURCE_ID_VERSION_IDX = Internal.createUniqueKey(Resource.RESOURCE, "KEY_resource_resource_id_version_idx", new TableField[] { Resource.RESOURCE.ID }, true);
        public static final UniqueKey KEY_RESOURCE_LAST_CHECKED_PRIMARY = Internal.createUniqueKey(ResourceLastChecked.RESOURCE_LAST_CHECKED, "KEY_resource_last_checked_PRIMARY", new TableField[] { ResourceLastChecked.RESOURCE_LAST_CHECKED.RESOURCE_UID }, true);
        public static final UniqueKey KEY_RESOURCE_VERSION_PRIMARY = Internal.createUniqueKey(ResourceVersion.RESOURCE_VERSION, "KEY_resource_version_PRIMARY", new TableField[] { ResourceVersion.RESOURCE_VERSION.RESOURCE_UID, ResourceVersion.RESOURCE_VERSION.VERSION }, true);
        public static final UniqueKey KEY_TASK_TRACKING_PRIMARY = Internal.createUniqueKey(TaskTracking.TASK_TRACKING, "KEY_task_tracking_PRIMARY", new TableField[] { TaskTracking.TASK_TRACKING.TASK_ID }, true);
        public static final UniqueKey KEY_UNHAPPY_VETO_PRIMARY = Internal.createUniqueKey(UnhappyVeto.UNHAPPY_VETO, "KEY_unhappy_veto_PRIMARY", new TableField[] { UnhappyVeto.UNHAPPY_VETO.RESOURCE_UID }, true);
        public static final UniqueKey KEY_UNHEALTHY_PRIMARY = Internal.createUniqueKey(Unhealthy.UNHEALTHY, "KEY_unhealthy_PRIMARY", new TableField[] { Unhealthy.UNHEALTHY.RESOURCE_UID }, true);
        public static final UniqueKey KEY_WORK_QUEUE_PRIMARY = Internal.createUniqueKey(WorkQueue.WORK_QUEUE, "KEY_work_queue_PRIMARY", new TableField[] { WorkQueue.WORK_QUEUE.UID }, true);
    }

    private static class ForeignKeys0 {
        public static final ForeignKey FK_VERIFICATION_STATE_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, ActionState.ACTION_STATE, "fk_verification_state_environment", new TableField[] { ActionState.ACTION_STATE.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_VERIFICATION_STATE_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, ActionState.ACTION_STATE, "fk_verification_state_delivery_artifact", new TableField[] { ActionState.ACTION_STATE.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ARTIFACT_LAST_CHECKED_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, ArtifactLastChecked.ARTIFACT_LAST_CHECKED, "fk_artifact_last_checked_delivery_artifact", new TableField[] { ArtifactLastChecked.ARTIFACT_LAST_CHECKED.ARTIFACT_UID }, true);
        public static final ForeignKey FK_CURRENT_CONSTRAINT_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, CurrentConstraint.CURRENT_CONSTRAINT, "fk_current_constraint_environment", new TableField[] { CurrentConstraint.CURRENT_CONSTRAINT.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_CURRENT_CONSTRAINT_ENVIRONMENT_ARTIFACT_CONSTRAINT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_ARTIFACT_CONSTRAINT_PRIMARY, CurrentConstraint.CURRENT_CONSTRAINT, "fk_current_constraint_environment_artifact_constraint", new TableField[] { CurrentConstraint.CURRENT_CONSTRAINT.CONSTRAINT_UID }, true);
        public static final ForeignKey FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_CONFIG = Internal.createForeignKey(Keys.KEY_DELIVERY_CONFIG_PRIMARY, DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT, "fk_delivery_config_artifact_delivery_config", new TableField[] { DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT.DELIVERY_CONFIG_UID }, true);
        public static final ForeignKey FK_DELIVERY_CONFIG_ARTIFACT_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT, "fk_delivery_config_artifact_delivery_artifact", new TableField[] { DeliveryConfigArtifact.DELIVERY_CONFIG_ARTIFACT.ARTIFACT_UID }, true);
        public static final ForeignKey FK_DELIVERY_CONFIG_LAST_CHECKED_DELIVERY_CONFIG = Internal.createForeignKey(Keys.KEY_DELIVERY_CONFIG_PRIMARY, DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED, "fk_delivery_config_last_checked_delivery_config", new TableField[] { DeliveryConfigLastChecked.DELIVERY_CONFIG_LAST_CHECKED.DELIVERY_CONFIG_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_DELIVERY_CONFIG = Internal.createForeignKey(Keys.KEY_DELIVERY_CONFIG_PRIMARY, Environment.ENVIRONMENT, "fk_environment_delivery_config", new TableField[] { Environment.ENVIRONMENT.DELIVERY_CONFIG_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_CONSTRAINT_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT, "fk_environment_artifact_constraint_environment", new TableField[] { EnvironmentArtifactConstraint.ENVIRONMENT_ARTIFACT_CONSTRAINT.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_PIN_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN, "fk_environment_artifact_pin_environment", new TableField[] { EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_PIN_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN, "fk_environment_artifact_pin_delivery_artifact", new TableField[] { EnvironmentArtifactPin.ENVIRONMENT_ARTIFACT_PIN.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL, "fk_environment_artifact_queued_approval_environment", new TableField[] { EnvironmentArtifactQueuedApproval.ENVIRONMENT_ARTIFACT_QUEUED_APPROVAL.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VERSIONS_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, "fk_environment_artifact_versions_environment", new TableField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VERSIONS_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS, "fk_environment_artifact_versions_delivery_artifact", new TableField[] { EnvironmentArtifactVersions.ENVIRONMENT_ARTIFACT_VERSIONS.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VETO_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO, "fk_environment_artifact_veto_environment", new TableField[] { EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_ARTIFACT_VETO_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO, "fk_environment_artifact_veto_delivery_artifact", new TableField[] { EnvironmentArtifactVeto.ENVIRONMENT_ARTIFACT_VETO.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_DELETION_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentDeletion.ENVIRONMENT_DELETION, "fk_environment_deletion_environment", new TableField[] { EnvironmentDeletion.ENVIRONMENT_DELETION.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_LAST_POST_DEPLOY_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY, "fk_environment_last_post_deploy_environment", new TableField[] { EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_LAST_POST_DEPLOY_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY, "fk_environment_last_post_deploy_delivery_artifact", new TableField[] { EnvironmentLastPostDeploy.ENVIRONMENT_LAST_POST_DEPLOY.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_LAST_VERIFIED_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED, "fk_environment_last_verified_environment", new TableField[] { EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_LAST_VERIFIED_DELIVERY_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED, "fk_environment_last_verified_delivery_artifact", new TableField[] { EnvironmentLastVerified.ENVIRONMENT_LAST_VERIFIED.ARTIFACT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_LEASE_ENVIRONMENT_UID = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentLease.ENVIRONMENT_LEASE, "fk_environment_lease_environment_uid", new TableField[] { EnvironmentLease.ENVIRONMENT_LEASE.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_RESOURCE_ENVIRONMENT_VERSION = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_VERSION_ENVIRONMENT_VERSION_ENVIRONMENT_UID_VERSION_IDX, EnvironmentResource.ENVIRONMENT_RESOURCE, "fk_environment_resource_environment_version", new TableField[] { EnvironmentResource.ENVIRONMENT_RESOURCE.ENVIRONMENT_UID, EnvironmentResource.ENVIRONMENT_RESOURCE.ENVIRONMENT_VERSION }, true);
        public static final ForeignKey FK_ENVIRONMENT_RESOURCE_RESOURCE_VERSION = Internal.createForeignKey(Keys.KEY_RESOURCE_VERSION_PRIMARY, EnvironmentResource.ENVIRONMENT_RESOURCE, "fk_environment_resource_resource_version", new TableField[] { EnvironmentResource.ENVIRONMENT_RESOURCE.RESOURCE_UID, EnvironmentResource.ENVIRONMENT_RESOURCE.RESOURCE_VERSION }, true);
        public static final ForeignKey FK_ENVIRONMENT_VERSION_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, EnvironmentVersion.ENVIRONMENT_VERSION, "fk_environment_version_environment", new TableField[] { EnvironmentVersion.ENVIRONMENT_VERSION.ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ENVIRONMENT_VERSION = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_VERSION_ENVIRONMENT_VERSION_ENVIRONMENT_UID_VERSION_IDX, EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION, "fk_environment_version_artifact_version_environment_version", new TableField[] { EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ENVIRONMENT_UID, EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ENVIRONMENT_VERSION }, true);
        public static final ForeignKey FK_ENVIRONMENT_VERSION_ARTIFACT_VERSION_ARTIFACT = Internal.createForeignKey(Keys.KEY_DELIVERY_ARTIFACT_PRIMARY, EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION, "fk_environment_version_artifact_version_artifact", new TableField[] { EnvironmentVersionArtifactVersion.ENVIRONMENT_VERSION_ARTIFACT_VERSION.ARTIFACT_UID }, true);
        public static final ForeignKey FK_TRIGGERING_EVENT_UID = Internal.createForeignKey(Keys.KEY_LIFECYCLE_EVENT_PRIMARY, LifecycleMonitor.LIFECYCLE_MONITOR, "fk_triggering_event_uid", new TableField[] { LifecycleMonitor.LIFECYCLE_MONITOR.TRIGGERING_EVENT_UID }, true);
        public static final ForeignKey FK_PREVIEW_ENVIRONMENT_DELIVERY_CONFIG = Internal.createForeignKey(Keys.KEY_DELIVERY_CONFIG_PRIMARY, PreviewEnvironment.PREVIEW_ENVIRONMENT, "fk_preview_environment_delivery_config", new TableField[] { PreviewEnvironment.PREVIEW_ENVIRONMENT.DELIVERY_CONFIG_UID }, true);
        public static final ForeignKey FK_PREVIEW_ENVIRONMENT_ENVIRONMENT = Internal.createForeignKey(Keys.KEY_ENVIRONMENT_PRIMARY, PreviewEnvironment.PREVIEW_ENVIRONMENT, "fk_preview_environment_environment", new TableField[] { PreviewEnvironment.PREVIEW_ENVIRONMENT.BASE_ENVIRONMENT_UID }, true);
        public static final ForeignKey FK_RESOURCE_LAST_CHECKED_RESOURCE = Internal.createForeignKey(Keys.KEY_RESOURCE_PRIMARY, ResourceLastChecked.RESOURCE_LAST_CHECKED, "fk_resource_last_checked_resource", new TableField[] { ResourceLastChecked.RESOURCE_LAST_CHECKED.RESOURCE_UID }, true);
        public static final ForeignKey FK_RESOURCE_VERSION_RESOURCE = Internal.createForeignKey(Keys.KEY_RESOURCE_PRIMARY, ResourceVersion.RESOURCE_VERSION, "fk_resource_version_resource", new TableField[] { ResourceVersion.RESOURCE_VERSION.RESOURCE_UID }, true);
        public static final ForeignKey FK_UNHAPPY_VETO_RESOURCE = Internal.createForeignKey(Keys.KEY_RESOURCE_PRIMARY, UnhappyVeto.UNHAPPY_VETO, "fk_unhappy_veto_resource", new TableField[] { UnhappyVeto.UNHAPPY_VETO.RESOURCE_UID }, true);
        public static final ForeignKey FK_UNHEALTHY_RESOURCE = Internal.createForeignKey(Keys.KEY_RESOURCE_PRIMARY, Unhealthy.UNHEALTHY, "fk_unhealthy_resource", new TableField[] { Unhealthy.UNHEALTHY.RESOURCE_UID }, true);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy