Skip to content

public.self_healing_configuration_workflow

Columns

Name Type Default Nullable Children Parents Comment
configurationId integer false public.self_healing_configuration
projectId varchar(36) false public.project Enforces disjoint selections within a project
workflowId varchar(36) false public.workflow_entity

Constraints

Name Type Definition
FK_1892b567be91ed445357f104043 FOREIGN KEY FOREIGN KEY ("projectId") REFERENCES project(id) ON DELETE CASCADE
FK_355ef48520a7881610954fed7be FOREIGN KEY FOREIGN KEY ("configurationId") REFERENCES self_healing_configuration(id) ON DELETE CASCADE
FK_bfd82d710c4ea7de5c38a64dd76 FOREIGN KEY FOREIGN KEY ("workflowId") REFERENCES workflow_entity(id) ON DELETE CASCADE
PK_4e321fd18a7352bced022188f93 PRIMARY KEY PRIMARY KEY ("configurationId", "workflowId")
self_healing_configuration_workflow_configurationId_not_null n NOT NULL "configurationId"
self_healing_configuration_workflow_projectId_not_null n NOT NULL "projectId"
self_healing_configuration_workflow_workflowId_not_null n NOT NULL "workflowId"

Indexes

Name Definition
IDX_271ca62ab23c15694161fbfe70 CREATE UNIQUE INDEX "IDX_271ca62ab23c15694161fbfe70" ON public.self_healing_configuration_workflow USING btree ("projectId", "workflowId")
IDX_bfd82d710c4ea7de5c38a64dd7 CREATE INDEX "IDX_bfd82d710c4ea7de5c38a64dd7" ON public.self_healing_configuration_workflow USING btree ("workflowId")
PK_4e321fd18a7352bced022188f93 CREATE UNIQUE INDEX "PK_4e321fd18a7352bced022188f93" ON public.self_healing_configuration_workflow USING btree ("configurationId", "workflowId")

Relations

erDiagram

"public.self_healing_configuration_workflow" }o--|| "public.self_healing_configuration" : "FOREIGN KEY (#quot;configurationId#quot;) REFERENCES self_healing_configuration(id) ON DELETE CASCADE"
"public.self_healing_configuration_workflow" }o--|| "public.project" : "FOREIGN KEY (#quot;projectId#quot;) REFERENCES project(id) ON DELETE CASCADE"
"public.self_healing_configuration_workflow" }o--|| "public.workflow_entity" : "FOREIGN KEY (#quot;workflowId#quot;) REFERENCES workflow_entity(id) ON DELETE CASCADE"

"public.self_healing_configuration_workflow" {
  integer configurationId FK
  varchar_36_ projectId FK
  varchar_36_ workflowId FK
}
"public.self_healing_configuration" {
  timestamp_3__with_time_zone createdAt
  boolean enabled
  uuid enabledById FK
  integer id
  varchar_36_ projectId FK
  varchar_16_ scope
  timestamp_3__with_time_zone updatedAt
}
"public.project" {
  timestamp_3__with_time_zone createdAt
  uuid creatorId FK
  json customTelemetryTags
  varchar_512_ description
  json icon
  varchar_36_ id
  varchar_255_ name
  varchar_36_ type
  timestamp_3__with_time_zone updatedAt
}
"public.workflow_entity" {
  boolean active
  varchar_36_ activeVersionId FK
  json connections
  timestamp_3__with_time_zone createdAt
  text description
  varchar_36_ id
  boolean isArchived
  json meta
  varchar_128_ name
  json nodeGroups
  json nodes
  varchar_36_ parentFolderId FK
  json pinData
  json settings
  varchar sourceWorkflowId
  json staticData
  integer triggerCount
  timestamp_3__with_time_zone updatedAt
  integer versionCounter
  character_36_ versionId
}

Generated by tbls