public.execution_annotation_tags¶
列¶
| 名称 | 类型 | 默认值 | 可空 | 子表 | 父表 | 注释 |
|---|---|---|---|---|---|---|
| annotationId | integer | false | public.execution_annotations | |||
| tagId | varchar(24) | false | public.annotation_tag_entity |
约束¶
| 名称 | 类型 | 定义 |
|---|---|---|
| FK_a3697779b366e131b2bbdae2976 | FOREIGN KEY | FOREIGN KEY ("tagId") REFERENCES annotation_tag_entity(id) ON DELETE CASCADE |
| FK_c1519757391996eb06064f0e7c8 | FOREIGN KEY | FOREIGN KEY ("annotationId") REFERENCES execution_annotations(id) ON DELETE CASCADE |
| PK_979ec03d31294cca484be65d11f | PRIMARY KEY | PRIMARY KEY ("annotationId", "tagId") |
| execution_annotation_tags_annotationId_not_null | n | NOT NULL "annotationId" |
| execution_annotation_tags_tagId_not_null | n | NOT NULL "tagId" |
索引¶
| 名称 | 定义 |
|---|---|
| IDX_a3697779b366e131b2bbdae297 | CREATE INDEX "IDX_a3697779b366e131b2bbdae297" ON public.execution_annotation_tags USING btree ("tagId") |
| IDX_c1519757391996eb06064f0e7c | CREATE INDEX "IDX_c1519757391996eb06064f0e7c" ON public.execution_annotation_tags USING btree ("annotationId") |
| PK_979ec03d31294cca484be65d11f | CREATE UNIQUE INDEX "PK_979ec03d31294cca484be65d11f" ON public.execution_annotation_tags USING btree ("annotationId", "tagId") |
关系¶
erDiagram
"public.execution_annotation_tags" }o--|| "public.execution_annotations" : "FOREIGN KEY (#quot;annotationId#quot;) REFERENCES execution_annotations(id) ON DELETE CASCADE"
"public.execution_annotation_tags" }o--|| "public.annotation_tag_entity" : "FOREIGN KEY (#quot;tagId#quot;) REFERENCES annotation_tag_entity(id) ON DELETE CASCADE"
"public.execution_annotation_tags" {
integer annotationId FK
varchar_24_ tagId FK
}
"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.annotation_tag_entity" {
timestamp_3__with_time_zone createdAt
varchar_16_ id
varchar_24_ name
timestamp_3__with_time_zone updatedAt
}由 tbls 生成
本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 n8/n8n