public.service_account_details¶
Columns¶
| Name | Type | Default | Nullable | Children | Parents | Comment |
|---|---|---|---|---|---|---|
| createdAt | timestamp(3) with time zone | CURRENT_TIMESTAMP(3) | false | |||
| name | varchar(128) | false | Display name of the service account | |||
| updatedAt | timestamp(3) with time zone | CURRENT_TIMESTAMP(3) | false | |||
| userId | uuid | false | public.user | ID of the service account in the user table |
Constraints¶
| Name | Type | Definition |
|---|---|---|
| FK_service_account_details_userId | FOREIGN KEY | FOREIGN KEY ("userId") REFERENCES "user"(id) ON DELETE CASCADE |
| PK_77005c3f2e094b2bd756d1f2ee0 | PRIMARY KEY | PRIMARY KEY ("userId") |
| service_account_details_createdAt_not_null | n | NOT NULL "createdAt" |
| service_account_details_name_not_null | n | NOT NULL name |
| service_account_details_updatedAt_not_null | n | NOT NULL "updatedAt" |
| service_account_details_userId_not_null | n | NOT NULL "userId" |
Indexes¶
| Name | Definition |
|---|---|
| PK_77005c3f2e094b2bd756d1f2ee0 | CREATE UNIQUE INDEX "PK_77005c3f2e094b2bd756d1f2ee0" ON public.service_account_details USING btree ("userId") |
Relations¶
erDiagram
"public.service_account_details" |o--|| "public.user" : "FOREIGN KEY (#quot;userId#quot;) REFERENCES #quot;user#quot;(id) ON DELETE CASCADE"
"public.service_account_details" {
timestamp_3__with_time_zone createdAt
varchar_128_ name
timestamp_3__with_time_zone updatedAt
uuid userId FK
}
"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
}Generated by tbls
Markdown source: View on AtomGit·Content from the open-source project n8/n8n