mirror of
https://github.com/n8n-io/n8n.git
synced 2026-07-27 19:15:01 +02:00
78 lines
2.8 KiB
Markdown
78 lines
2.8 KiB
Markdown
# public.execution_annotations
|
|
|
|
## Columns
|
|
|
|
| Name | Type | Default | Nullable | Children | Parents | Comment |
|
|
| ---- | ---- | ------- | -------- | -------- | ------- | ------- |
|
|
| createdAt | timestamp(3) with time zone | CURRENT_TIMESTAMP(3) | false | | | |
|
|
| executionId | integer | | false | | [public.execution_entity](public.execution_entity.md) | |
|
|
| id | integer | nextval('execution_annotations_id_seq'::regclass) | false | [public.execution_annotation_tags](public.execution_annotation_tags.md) | | |
|
|
| note | text | | true | | | |
|
|
| updatedAt | timestamp(3) with time zone | CURRENT_TIMESTAMP(3) | false | | | |
|
|
| vote | varchar(6) | | true | | | |
|
|
|
|
## Constraints
|
|
|
|
| Name | Type | Definition |
|
|
| ---- | ---- | ---------- |
|
|
| FK_97f863fa83c4786f19565084960 | FOREIGN KEY | FOREIGN KEY ("executionId") REFERENCES execution_entity(id) ON DELETE CASCADE |
|
|
| PK_7afcf93ffa20c4252869a7c6a23 | PRIMARY KEY | PRIMARY KEY (id) |
|
|
| execution_annotations_createdAt_not_null | n | NOT NULL "createdAt" |
|
|
| execution_annotations_executionId_not_null | n | NOT NULL "executionId" |
|
|
| execution_annotations_id_not_null | n | NOT NULL id |
|
|
| execution_annotations_updatedAt_not_null | n | NOT NULL "updatedAt" |
|
|
|
|
## Indexes
|
|
|
|
| Name | Definition |
|
|
| ---- | ---------- |
|
|
| IDX_97f863fa83c4786f1956508496 | CREATE UNIQUE INDEX "IDX_97f863fa83c4786f1956508496" ON public.execution_annotations USING btree ("executionId") |
|
|
| PK_7afcf93ffa20c4252869a7c6a23 | CREATE UNIQUE INDEX "PK_7afcf93ffa20c4252869a7c6a23" ON public.execution_annotations USING btree (id) |
|
|
|
|
## Relations
|
|
|
|
```mermaid
|
|
erDiagram
|
|
|
|
"public.execution_annotations" }o--|| "public.execution_entity" : "FOREIGN KEY (#quot;executionId#quot;) REFERENCES execution_entity(id) ON DELETE CASCADE"
|
|
"public.execution_annotation_tags" }o--|| "public.execution_annotations" : "FOREIGN KEY (#quot;annotationId#quot;) REFERENCES execution_annotations(id) ON DELETE CASCADE"
|
|
|
|
"public.execution_annotations" {
|
|
timestamp_3__with_time_zone createdAt
|
|
integer executionId FK
|
|
integer id
|
|
text note
|
|
timestamp_3__with_time_zone updatedAt
|
|
varchar_6_ vote
|
|
}
|
|
"public.execution_entity" {
|
|
bigint binaryDataSizeBytes
|
|
timestamp_3__with_time_zone createdAt
|
|
varchar_255_ deduplicationKey
|
|
timestamp_3__with_time_zone deletedAt
|
|
boolean finished
|
|
integer id
|
|
bigint jsonSizeBytes
|
|
varchar mode
|
|
varchar retryOf
|
|
varchar retrySuccessId
|
|
timestamp_3__with_time_zone startedAt
|
|
varchar status
|
|
timestamp_3__with_time_zone stoppedAt
|
|
varchar_2_ storedAt
|
|
json tracingContext
|
|
boolean usedPrivateCredentials
|
|
timestamp_3__with_time_zone waitTill
|
|
varchar_36_ workflowId FK
|
|
varchar_36_ workflowVersionId
|
|
}
|
|
"public.execution_annotation_tags" {
|
|
integer annotationId FK
|
|
varchar_24_ tagId FK
|
|
}
|
|
```
|
|
|
|
---
|
|
|
|
> Generated by [tbls](https://github.com/k1LoW/tbls)
|