mirror of
https://github.com/n8n-io/n8n.git
synced 2026-10-19 16:55:02 +02:00
Add an append-only execution ledger with one fold task every 5 seconds. Participants fold claimed rows in one transaction: workflow statistics, execution quota usage, and Insights hourly buckets. Add hard execution quotas per workflow and project. An atomic Redis or memory counter admits a run, and the started row commits with the execution row. Postgres and SQLite are both supported. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
778 B
Generated
778 B
Generated
execution_ledger_fold_seq
Description
Table Definition
CREATE TABLE "execution_ledger_fold_seq" ("id" integer PRIMARY KEY CHECK ("id" = 1), "value" integer NOT NULL)
Columns
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| id | INTEGER | true | ||||
| value | INTEGER | false |
Constraints
| Name | Type | Definition |
|---|---|---|
| - | CHECK | CHECK ("id" = 1) |
| id | PRIMARY KEY | PRIMARY KEY (id) |
Relations
erDiagram
"execution_ledger_fold_seq" {
INTEGER id
INTEGER value
}
Generated by tbls