跳转至

public.execution_limit_instance_usage

列

名称 类型 默认值 可空 子表 父表 备注
blockedCount integer 0 false 在首个节点之前停止的运行数。使用量计算为 startedCount 减去 blockedCount
day date false 被计费账本行对应的 UTC 日期
entityType varchar(16) false workflow:工作流运行;agent:代理消息
startedCount integer 0 false 当日启动的运行数
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false 更改该行的最后一次折叠的时间

约束

名称 类型 定义
CHK_execution_limit_instance_usage_counts_non_negative CHECK CHECK ((("startedCount" >= 0) AND ("blockedCount" >= 0)))
CHK_execution_limit_instance_usage_entityType CHECK CHECK ((("entityType")::text = ANY ((ARRAY['workflow'::character varying, 'agent'::character varying])::text[])))
PK_f8e1cbb3e28212ef0a6613c143e PRIMARY KEY PRIMARY KEY (day, "entityType")
execution_limit_instance_usage_blockedCount_not_null n NOT NULL "blockedCount"
execution_limit_instance_usage_day_not_null n NOT NULL day
execution_limit_instance_usage_entityType_not_null n NOT NULL "entityType"
execution_limit_instance_usage_startedCount_not_null n NOT NULL "startedCount"
execution_limit_instance_usage_updatedAt_not_null n NOT NULL "updatedAt"

索引

名称 定义
PK_f8e1cbb3e28212ef0a6613c143e CREATE UNIQUE INDEX "PK_f8e1cbb3e28212ef0a6613c143e" ON public.execution_limit_instance_usage USING btree (day, "entityType")

关系

erDiagram


"public.execution_limit_instance_usage" {
  integer blockedCount
  date day
  varchar_16_ entityType
  integer startedCount
  timestamp_3__with_time_zone updatedAt
}

由 tbls 生成

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