跳转至

public.execution_limit_usage

列

名称 类型 默认值 可空 子表 父表 注释
blockedCount integer 0 false 在到达第一个节点之前停止的运行数。用量为 startedCount 减去 blockedCount
day date false 被统计账本行的 UTC 日期
entityType varchar(16) false workflow:工作流运行;agent:代理消息
projectId varchar(36) false 运行时的项目。无外键:行可能比项目存在得更久
startedCount integer 0 false 当日开始的运行数
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false 最后一次更改该行的折叠操作的时间

约束

名称 类型 定义
CHK_execution_limit_usage_counts_non_negative CHECK CHECK ((("startedCount" >= 0) AND ("blockedCount" >= 0)))
CHK_execution_limit_usage_entityType CHECK CHECK ((("entityType")::text = ANY ((ARRAY['workflow'::character varying, 'agent'::character varying])::text[])))
PK_d2580db820ef0203e281e639e07 PRIMARY KEY PRIMARY KEY ("projectId", day, "entityType")
execution_limit_usage_blockedCount_not_null n NOT NULL "blockedCount"
execution_limit_usage_day_not_null n NOT NULL day
execution_limit_usage_entityType_not_null n NOT NULL "entityType"
execution_limit_usage_projectId_not_null n NOT NULL "projectId"
execution_limit_usage_startedCount_not_null n NOT NULL "startedCount"
execution_limit_usage_updatedAt_not_null n NOT NULL "updatedAt"

索引

名称 定义
IDX_execution_limit_usage_day CREATE INDEX "IDX_execution_limit_usage_day" ON public.execution_limit_usage USING btree (day)
PK_d2580db820ef0203e281e639e07 CREATE UNIQUE INDEX "PK_d2580db820ef0203e281e639e07" ON public.execution_limit_usage USING btree ("projectId", day, "entityType")

关系

erDiagram


"public.execution_limit_usage" {
  integer blockedCount
  date day
  varchar_16_ entityType
  varchar_36_ projectId
  integer startedCount
  timestamp_3__with_time_zone updatedAt
}

由 tbls 生成

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