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

2.4 KiB
Generated

public.execution_limit_policy_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
projectId varchar(36) false public.project

Constraints

Name Type Definition
FK_8e78454e151e273b43307b7c3ef FOREIGN KEY FOREIGN KEY ("projectId") REFERENCES project(id) ON DELETE CASCADE
FK_a2068a7e0137ebddc1258078e38 FOREIGN KEY FOREIGN KEY ("policyId") REFERENCES execution_limit_policy(id) ON DELETE CASCADE
PK_b1e6cac406e508f31ba538ef4d1 PRIMARY KEY PRIMARY KEY ("policyId", "projectId")
execution_limit_policy_assignment_createdAt_not_null n NOT NULL "createdAt"
execution_limit_policy_assignment_policyId_not_null n NOT NULL "policyId"
execution_limit_policy_assignment_projectId_not_null n NOT NULL "projectId"

Indexes

Name Definition
IDX_8e78454e151e273b43307b7c3e CREATE INDEX "IDX_8e78454e151e273b43307b7c3e" ON public.execution_limit_policy_assignment USING btree ("projectId")
PK_b1e6cac406e508f31ba538ef4d1 CREATE UNIQUE INDEX "PK_b1e6cac406e508f31ba538ef4d1" ON public.execution_limit_policy_assignment USING btree ("policyId", "projectId")

Relations

erDiagram

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

"public.execution_limit_policy_assignment" {
  timestamp_3__with_time_zone createdAt
  uuid policyId FK
  varchar_36_ projectId FK
}
"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
}
"public.project" {
  timestamp_3__with_time_zone createdAt
  uuid creatorId FK
  json customTelemetryTags
  varchar_512_ description
  json icon
  varchar_36_ id
  varchar_255_ name
  varchar_36_ type
  timestamp_3__with_time_zone updatedAt
}

Generated by tbls