Skip to content

public.project_execution_limit

Columns

Name Type Default Nullable Children Parents Comment
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
maxExecutions integer false Maximum number of executions for the project in one period. The instance setting features.executionLimits sets the period
projectId varchar(36) false public.project
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false

Constraints

Name Type Definition
CHK_project_execution_limit_max_executions_positive CHECK CHECK (("maxExecutions" > 0))
FK_project_execution_limit_projectId FOREIGN KEY FOREIGN KEY ("projectId") REFERENCES project(id) ON DELETE CASCADE
PK_972bccb57c4e2dca3242a574cfe PRIMARY KEY PRIMARY KEY ("projectId")
project_execution_limit_createdAt_not_null n NOT NULL "createdAt"
project_execution_limit_maxExecutions_not_null n NOT NULL "maxExecutions"
project_execution_limit_projectId_not_null n NOT NULL "projectId"
project_execution_limit_updatedAt_not_null n NOT NULL "updatedAt"

Indexes

Name Definition
PK_972bccb57c4e2dca3242a574cfe CREATE UNIQUE INDEX "PK_972bccb57c4e2dca3242a574cfe" ON public.project_execution_limit USING btree ("projectId")

Relations

erDiagram

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

"public.project_execution_limit" {
  timestamp_3__with_time_zone createdAt
  integer maxExecutions
  varchar_36_ projectId FK
  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

Markdown source: View on AtomGit·Content from the open-source project n8/n8n