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

2.0 KiB
Generated

public.execution_limit_instance_usage

Columns

Name Type Default Nullable Children Parents Comment
blockedCount integer 0 false Runs that stopped before their first node. Usage is startedCount minus blockedCount
day date false UTC day of the counted ledger row
entityType varchar(16) false workflow: workflow runs; agent: agent messages
startedCount integer 0 false Runs that started on this day
updatedAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false Time of the last fold that changed the row

Constraints

Name Type Definition
CHK_execution_limit_instance_usage_counts_non_negative CHECK CHECK ((("startedCount" >= 0) AND ("blockedCount" >= 0)))
CHK_execution_limit_instance_usage_entityType CHECK CHECK ((("entityType")::text = ANY ((ARRAY['workflow'::character varying, 'agent'::character varying])::text[])))
PK_f8e1cbb3e28212ef0a6613c143e PRIMARY KEY PRIMARY KEY (day, "entityType")
execution_limit_instance_usage_blockedCount_not_null n NOT NULL "blockedCount"
execution_limit_instance_usage_day_not_null n NOT NULL day
execution_limit_instance_usage_entityType_not_null n NOT NULL "entityType"
execution_limit_instance_usage_startedCount_not_null n NOT NULL "startedCount"
execution_limit_instance_usage_updatedAt_not_null n NOT NULL "updatedAt"

Indexes

Name Definition
PK_f8e1cbb3e28212ef0a6613c143e CREATE UNIQUE INDEX "PK_f8e1cbb3e28212ef0a6613c143e" ON public.execution_limit_instance_usage USING btree (day, "entityType")

Relations

erDiagram


"public.execution_limit_instance_usage" {
  integer blockedCount
  date day
  varchar_16_ entityType
  integer startedCount
  timestamp_3__with_time_zone updatedAt
}

Generated by tbls