public.mcp_server
Columns
Constraints
Indexes
Relations
erDiagram
"public.mcp_server" }o--o| "public.user" : "FOREIGN KEY (#quot;createdById#quot;) REFERENCES #quot;user#quot;(id) ON DELETE SET NULL"
"public.mcp_server_block" }o--|| "public.mcp_server" : "FOREIGN KEY (#quot;serverId#quot;) REFERENCES mcp_server(id) ON DELETE CASCADE"
"public.mcp_server_connection" }o--|| "public.mcp_server" : "FOREIGN KEY (#quot;serverId#quot;) REFERENCES mcp_server(id) ON DELETE CASCADE"
"public.mcp_server_tool" }o--|| "public.mcp_server" : "FOREIGN KEY (#quot;serverId#quot;) REFERENCES mcp_server(id) ON DELETE CASCADE"
"public.mcp_server" }o--|| "public.project" : "FOREIGN KEY (#quot;projectId#quot;) REFERENCES project(id) ON DELETE CASCADE"
"public.mcp_server" {
timestamp_3__with_time_zone createdAt
uuid createdById FK
timestamp_3__with_time_zone deletedAt
text description
uuid id
varchar_128_ name
varchar_36_ projectId FK
varchar_128_ slug
timestamp_3__with_time_zone updatedAt
}
"public.user" {
timestamp_3__with_time_zone createdAt
boolean disabled
varchar_255_ email
varchar_32_ firstName
uuid id
varchar_16_ kind
date lastActiveAt
varchar_32_ lastName
boolean mfaEnabled
text mfaRecoveryCodes
text mfaSecret
varchar_255_ password
json personalizationAnswers
varchar_128_ roleSlug FK
json settings
timestamp_3__with_time_zone updatedAt
}
"public.mcp_server_block" {
timestamp_3__with_time_zone blockedAt
uuid blockedById FK
uuid serverId FK
uuid userId FK
}
"public.mcp_server_connection" {
varchar_255_ clientName
timestamp_3__with_time_zone firstUsedAt
timestamp_3__with_time_zone lastUsedAt
varchar oauthClientId FK
uuid serverId FK
uuid userId FK
}
"public.mcp_server_tool" {
timestamp_3__with_time_zone createdAt
text description
varchar_16_ draftSource
uuid id
varchar_16_ kind
integer position
uuid serverId FK
varchar_36_ targetId
json toolData
varchar_64_ toolName
timestamp_3__with_time_zone updatedAt
}
"public.project" {
timestamp_3__with_time_zone createdAt
uuid creatorId FK
json customTelemetryTags
varchar_512_ description
json icon
varchar_36_ id
varchar_255_ name
varchar_36_ type
timestamp_3__with_time_zone updatedAt
}
Generated by tbls
Markdown source: View on AtomGit·Content from the open-source project n8/n8n