mirror of
https://github.com/n8n-io/n8n.git
synced 2026-12-04 16:51:08 +00:00
Co-authored-by: Claude Fable 5.2 <noreply@anthropic.com>
2.1 KiB
Generated
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