Files
n8n/docs/generated/postgres-schema/public.execution_limit_policy_scope_assignment.md

2.1 KiB
Generated

public.execution_limit_policy_scope_assignment

Columns

Name Type Default Nullable Children Parents Comment
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
policyId uuid false public.execution_limit_policy
scope varchar(32) false Where the policy applies. instance counts all executions together. newProjects is each new team project. personalProjects is each personal project

Constraints

Name Type Definition
CHK_execution_limit_policy_scope_assignment_scope CHECK CHECK (((scope)::text = ANY ((ARRAY['instance'::character varying, 'newProjects'::character varying, 'personalProjects'::character varying])::text[])))
FK_11259a32d8a4c1a815bb7862816 FOREIGN KEY FOREIGN KEY ("policyId") REFERENCES execution_limit_policy(id) ON DELETE CASCADE
PK_7fc8becc9e70569c0993e23b31a PRIMARY KEY PRIMARY KEY ("policyId", scope)
execution_limit_policy_scope_assignment_createdAt_not_null n NOT NULL "createdAt"
execution_limit_policy_scope_assignment_policyId_not_null n NOT NULL "policyId"
execution_limit_policy_scope_assignment_scope_not_null n NOT NULL scope

Indexes

Name Definition
PK_7fc8becc9e70569c0993e23b31a CREATE UNIQUE INDEX "PK_7fc8becc9e70569c0993e23b31a" ON public.execution_limit_policy_scope_assignment USING btree ("policyId", scope)

Relations

erDiagram

"public.execution_limit_policy_scope_assignment" }o--|| "public.execution_limit_policy" : "FOREIGN KEY (#quot;policyId#quot;) REFERENCES execution_limit_policy(id) ON DELETE CASCADE"

"public.execution_limit_policy_scope_assignment" {
  timestamp_3__with_time_zone createdAt
  uuid policyId FK
  varchar_32_ scope
}
"public.execution_limit_policy" {
  timestamp_3__with_time_zone createdAt
  uuid id
  integer maxExecutions
  varchar_128_ name
  varchar_16_ periodUnit
  timestamp_3__with_time_zone updatedAt
}

Generated by tbls