Skip to content

Profile

reference
1 min readUpdated

Kind: Database Model

Source: atloria-monorepo/apps/parser-orchestrator/test/fixtures/sample-projects/fullstack-nextjs-nestjs/backend/prisma/schema.prisma

User profile with extended information

Fields

FieldTypeRequiredKey
idStringPK
bioString-
avatarUrlString-
websiteString-
locationString-
userIdStringunique

Diagram

mermaid
erDiagram
    Profile {
        id String [PK]
        bio String?
        avatarUrl String?
        website String?
        location String?
        userId String [UNIQUE]
    }
    Profile ||--|| User : "userId"

Relationships

  • BELONGS_TO → User

Referenced By

  • User (HAS_ONE)

Was this page helpful?

Download as PDF