跳转至

public.execution_limit_audit

列

Name Type Default Nullable Children Parents Comment
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
field varchar(32) false 更改的内容。periodUnit、instanceMaxExecutions 和 defaultProjectMaxExecutions 是 features.executionLimits 中的实例设置。projectMaxExecutions 是 projectId 对应项目的限制
id integer false
loginId varchar(255) true 服务账户用于进行更改的登录名。NULL 表示由个人所做的更改,以及由 n8n 所做的更改。没有 foreign key,因此当登录被删除时,该行会保留
newValue json true 更改后的值:一个时间段单位或最大执行次数。NULL 表示无限制
oldValue json true 更改前的值:一个时间段单位或最大执行次数。NULL 表示无限制
projectId varchar(36) true 执行限制被更改的项目。NULL 表示对实例设置的更改。没有 foreign key,因此当项目被删除时,该行会保留
updatedBy uuid true 进行更改的用户。NULL 表示由 n8n 所做的更改。没有 foreign key,因此当用户被删除时,该行会保留

约束

Name Type Definition
CHK_execution_limit_audit_field CHECK CHECK (((field)::text = ANY ((ARRAY['periodUnit'::character varying, 'instanceMaxExecutions'::character varying, 'defaultProjectMaxExecutions'::character varying, 'projectMaxExecutions'::character varying])::text[])))
CHK_execution_limit_audit_project_field CHECK CHECK (((((field)::text = 'projectMaxExecutions'::text) AND ("projectId" IS NOT NULL)) OR (((field)::text <> 'projectMaxExecutions'::text) AND ("projectId" IS NULL))))
PK_eaff1c6bc11b40a5e2310811cc6 PRIMARY KEY PRIMARY KEY (id)
execution_limit_audit_createdAt_not_null n NOT NULL "createdAt"
execution_limit_audit_field_not_null n NOT NULL field
execution_limit_audit_id_not_null n NOT NULL id

索引

Name Definition
PK_eaff1c6bc11b40a5e2310811cc6 CREATE UNIQUE INDEX "PK_eaff1c6bc11b40a5e2310811cc6" ON public.execution_limit_audit USING btree (id)

关系

erDiagram

"public.execution_limit_audit" {
  timestamp_3__with_time_zone createdAt
  varchar_32_ field
  integer id
  varchar_255_ loginId
  json newValue
  json oldValue
  varchar_36_ projectId
  uuid updatedBy
}

由 tbls 生成

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