n8n/docs/generated/sqlite-schema/execution_annotations.md
Savelii 4290e8461a
feat(editor): Show private credential icon on execution list runs (#32957)
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-30 14:06:54 +00:00

84 lines
2.7 KiB
Markdown

# execution_annotations
## Description
<details>
<summary><strong>Table Definition</strong></summary>
```sql
CREATE TABLE "execution_annotations" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "executionId" integer NOT NULL, "vote" varchar(6), "note" text, "createdAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')), "updatedAt" datetime(3) NOT NULL DEFAULT (STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW')), CONSTRAINT "FK_97f863fa83c4786f19565084960" FOREIGN KEY ("executionId") REFERENCES "execution_entity" ("id") ON DELETE CASCADE)
```
</details>
## Columns
| Name | Type | Default | Nullable | Children | Parents | Comment |
| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
| createdAt | datetime(3) | STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW') | false | | | |
| executionId | INTEGER | | false | | [execution_entity](execution_entity.md) | |
| id | INTEGER | | false | [execution_annotation_tags](execution_annotation_tags.md) | | |
| note | TEXT | | true | | | |
| updatedAt | datetime(3) | STRFTIME('%Y-%m-%d %H:%M:%f', 'NOW') | false | | | |
| vote | varchar(6) | | true | | | |
## Constraints
| Name | Type | Definition |
| ---- | ---- | ---------- |
| - (Foreign key ID: 0) | FOREIGN KEY | FOREIGN KEY (executionId) REFERENCES execution_entity (id) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE |
| id | PRIMARY KEY | PRIMARY KEY (id) |
## Indexes
| Name | Definition |
| ---- | ---------- |
| IDX_97f863fa83c4786f1956508496 | CREATE UNIQUE INDEX "IDX_97f863fa83c4786f1956508496" ON "execution_annotations" ("executionId") |
## Relations
```mermaid
erDiagram
"execution_annotations" }o--|| "execution_entity" : "FOREIGN KEY (executionId) REFERENCES execution_entity (id) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE"
"execution_annotation_tags" |o--|| "execution_annotations" : "FOREIGN KEY (annotationId) REFERENCES execution_annotations (id) ON UPDATE NO ACTION ON DELETE CASCADE MATCH NONE"
"execution_annotations" {
datetime_3_ createdAt
INTEGER executionId FK
INTEGER id
TEXT note
datetime_3_ updatedAt
varchar_6_ vote
}
"execution_entity" {
bigint binaryDataSizeBytes
datetime_3_ createdAt
varchar_255_ deduplicationKey
datetime_3_ deletedAt
boolean finished
INTEGER id
bigint jsonSizeBytes
varchar mode
varchar retryOf
varchar retrySuccessId
datetime startedAt
varchar status
datetime stoppedAt
varchar_2_ storedAt
TEXT tracingContext
BOOLEAN usedPrivateCredentials
datetime waitTill
varchar_36_ workflowId FK
varchar_36_ workflowVersionId
}
"execution_annotation_tags" {
INTEGER annotationId PK
varchar_24_ tagId PK
}
```
---
> Generated by [tbls](https://github.com/k1LoW/tbls)