跳转至

public.migration_finding

列

名称 类型 默认值 可空 子表 父表 注释
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
id integer false
note text true 用户填写的自由文本分流备注。
notifiedAt timestamp(3) with time zone true 工作流所有者上次收到通知的时间。从未通知时为 NULL。
ruleId varchar(128) false 产生该发现项的破坏性变更规则的 Id。
status varchar(32) 'open'::character varying false MigrationFindingStatus 枚举:"open"、"notified"、"fixed"、"fixed_unpublished"、"wont_fix"。
statusChangedAt timestamp(3) with time zone false status 上次变更的时间。插入时设置。
targetVersion varchar(16) false BreakingChangeVersion 枚举:该发现项适用的 n8n 主版本。
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
workflowId varchar(36) false public.workflow_entity

约束

名称 类型 定义
CHK_migration_finding_status CHECK CHECK (((status)::text = ANY ((ARRAY['open'::character varying, 'notified'::character varying, 'fixed'::character varying, 'fixed_unpublished'::character varying, 'wont_fix'::character varying])::text[])))
CHK_migration_finding_targetVersion CHECK CHECK ((("targetVersion")::text = ANY ((ARRAY['v2'::character varying, 'v3'::character varying])::text[])))
FK_88d7006b4ae5e8fd891189886be FOREIGN KEY FOREIGN KEY ("workflowId") REFERENCES workflow_entity(id) ON DELETE CASCADE
PK_6673f5c38158b0d3c0e96f9f57d PRIMARY KEY PRIMARY KEY (id)
migration_finding_createdAt_not_null n NOT NULL "createdAt"
migration_finding_id_not_null n NOT NULL id
migration_finding_ruleId_not_null n NOT NULL "ruleId"
migration_finding_statusChangedAt_not_null n NOT NULL "statusChangedAt"
migration_finding_status_not_null n NOT NULL status
migration_finding_targetVersion_not_null n NOT NULL "targetVersion"
migration_finding_updatedAt_not_null n NOT NULL "updatedAt"
migration_finding_workflowId_not_null n NOT NULL "workflowId"

索引

名称 定义
IDX_88d7006b4ae5e8fd891189886b CREATE INDEX "IDX_88d7006b4ae5e8fd891189886b" ON public.migration_finding USING btree ("workflowId")
IDX_8d6481028c7d874ef4d2eabff9 CREATE UNIQUE INDEX "IDX_8d6481028c7d874ef4d2eabff9" ON public.migration_finding USING btree ("targetVersion", "ruleId", "workflowId")
PK_6673f5c38158b0d3c0e96f9f57d CREATE UNIQUE INDEX "PK_6673f5c38158b0d3c0e96f9f57d" ON public.migration_finding USING btree (id)

关系

erDiagram

"public.migration_finding" }o--|| "public.workflow_entity" : "FOREIGN KEY (#quot;workflowId#quot;) REFERENCES workflow_entity(id) ON DELETE CASCADE"

"public.migration_finding" {
  timestamp_3__with_time_zone createdAt
  integer id
  text note
  timestamp_3__with_time_zone notifiedAt
  varchar_128_ ruleId
  varchar_32_ status
  timestamp_3__with_time_zone statusChangedAt
  varchar_16_ targetVersion
  timestamp_3__with_time_zone updatedAt
  varchar_36_ workflowId FK
}
"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