跳转至

public.evaluation_config 表

列

名称 类型 默认值 可空 子表 父表 注释
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) 否
datasetRef json 否
datasetSource varchar(32) 否
endNodeName varchar(255) 否
id varchar(36) 否 public.evaluation_collection public.test_run
invalidReason varchar(64) 是
metrics json 否
name varchar(128) 否
startNodeName varchar(255) 否
status varchar(16) 'valid'::character varying 否
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) 否
workflowId varchar(36) 否 public.workflow_entity

约束

名称 类型 定义
FK_fd7542bb123074760285dc1bbf 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"

索引

名称 定义
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)

关系

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
}

由 tbls 生成

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 n8/n8n