跳转至

public.trusted_key

列

名称 类型 默认值 可空 子表 父表 注释
createdAt timestamp(3) with time zone CURRENT_TIMESTAMP(3) false
data text false
kid varchar(255) false
sourceId varchar(36) false public.trusted_key_source

约束

名称 类型 定义
FK_8c2938d746943dd8f608d23c891 FOREIGN KEY FOREIGN KEY ("sourceId") REFERENCES trusted_key_source(id) ON DELETE CASCADE
PK_dc7d93798f3dbb6959f974c97e1 PRIMARY KEY PRIMARY KEY ("sourceId", kid)
trusted_key_createdAt_not_null n NOT NULL "createdAt"
trusted_key_data_not_null n NOT NULL data
trusted_key_kid_not_null n NOT NULL kid
trusted_key_sourceId_not_null n NOT NULL "sourceId"

索引

名称 定义
PK_dc7d93798f3dbb6959f974c97e1 CREATE UNIQUE INDEX "PK_dc7d93798f3dbb6959f974c97e1" ON public.trusted_key USING btree ("sourceId", kid)

关系

erDiagram

"public.trusted_key" }o--|| "public.trusted_key_source" : "FOREIGN KEY (#quot;sourceId#quot;) REFERENCES trusted_key_source(id) ON DELETE CASCADE"

"public.trusted_key" {
  timestamp_3__with_time_zone createdAt
  text data
  varchar_255_ kid
  varchar_36_ sourceId FK
}
"public.trusted_key_source" {
  text config
  timestamp_3__with_time_zone createdAt
  varchar_36_ id
  text lastError
  timestamp_3__with_time_zone lastRefreshedAt
  varchar_32_ status
  varchar_32_ type
  timestamp_3__with_time_zone updatedAt
}

由 tbls 生成

本页原文 Markdown:在 AtomGit 查看·内容源自开源项目 n8/n8n