n8n/docs/generated/postgres-schema/public.evaluation_config.md

4.6 KiB

public.evaluation_config

Columns

Name Type Default Nullable Children Parents Comment
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
datasetRef json false
datasetSource varchar(32) false
endNodeName varchar(255) false
id varchar(36) false public.evaluation_collection public.test_run
invalidReason varchar(64) true
metrics json false
name varchar(128) false
startNodeName varchar(255) false
status varchar(16) 'valid'::character varying false
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
workflowId varchar(36) false public.workflow_entity

Constraints

Name Type Definition
FK_fd7542bb123074760285dc1bbf3 FOREIGN KEY FOREIGN KEY ("workflowId") REFERENCES workflow_entity(id) ON DELETE CASCADE
PK_59c14dccf8989df94070c2dcfda PRIMARY KEY PRIMARY KEY (id)
UQ_3c3c99a712e971835c52292e44c UNIQUE UNIQUE ("workflowId", name)
evaluation_config_createdAt_not_null n NOT NULL "createdAt"
evaluation_config_datasetRef_not_null n NOT NULL "datasetRef"
evaluation_config_datasetSource_not_null n NOT NULL "datasetSource"
evaluation_config_endNodeName_not_null n NOT NULL "endNodeName"
evaluation_config_id_not_null n NOT NULL id
evaluation_config_metrics_not_null n NOT NULL metrics
evaluation_config_name_not_null n NOT NULL name
evaluation_config_startNodeName_not_null n NOT NULL "startNodeName"
evaluation_config_status_not_null n NOT NULL status
evaluation_config_updatedAt_not_null n NOT NULL "updatedAt"
evaluation_config_workflowId_not_null n NOT NULL "workflowId"

Indexes

Name Definition
IDX_fd7542bb123074760285dc1bbf CREATE INDEX "IDX_fd7542bb123074760285dc1bbf" ON public.evaluation_config USING btree ("workflowId")
PK_59c14dccf8989df94070c2dcfda CREATE UNIQUE INDEX "PK_59c14dccf8989df94070c2dcfda" ON public.evaluation_config USING btree (id)
UQ_3c3c99a712e971835c52292e44c CREATE UNIQUE INDEX "UQ_3c3c99a712e971835c52292e44c" ON public.evaluation_config USING btree ("workflowId", name)

Relations

erDiagram

"public.evaluation_collection" }o--|| "public.evaluation_config" : "FOREIGN KEY (#quot;evaluationConfigId#quot;) REFERENCES evaluation_config(id) ON DELETE CASCADE"
"public.test_run" }o--o| "public.evaluation_config" : "FOREIGN KEY (#quot;evaluationConfigId#quot;) REFERENCES evaluation_config(id) ON DELETE SET NULL"
"public.evaluation_config" }o--|| "public.workflow_entity" : "FOREIGN KEY (#quot;workflowId#quot;) REFERENCES workflow_entity(id) ON DELETE CASCADE"

"public.evaluation_config" {
  timestamp_3__with_time_zone createdAt
  json datasetRef
  varchar_32_ datasetSource
  varchar_255_ endNodeName
  varchar_36_ id
  varchar_64_ invalidReason
  json metrics
  varchar_128_ name
  varchar_255_ startNodeName
  varchar_16_ status
  timestamp_3__with_time_zone updatedAt
  varchar_36_ workflowId FK
}
"public.evaluation_collection" {
  timestamp_3__with_time_zone createdAt
  uuid createdById FK
  text description
  varchar_36_ evaluationConfigId FK
  varchar_36_ id
  json insightsCache
  varchar_128_ name
  timestamp_3__with_time_zone updatedAt
  varchar_36_ workflowId FK
}
"public.test_run" {
  boolean cancelRequested
  varchar_36_ collectionId FK
  timestamp_3__with_time_zone completedAt
  timestamp_3__with_time_zone createdAt
  varchar errorCode
  json errorDetails
  varchar_36_ evaluationConfigId FK
  jsonb evaluationConfigSnapshot
  varchar_36_ id
  json metrics
  timestamp_3__with_time_zone runAt
  varchar_255_ runningInstanceId
  varchar status
  timestamp_3__with_time_zone updatedAt
  varchar_36_ workflowId FK
  varchar_36_ workflowVersionId
}
"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