Kind: Database Model
Source: atloria-monorepo/libs/database/prisma/schema.prisma
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | String | ✓ | PK |
email | String | ✓ | |
organizationId | String | ✓ | |
role | UserRole | ✓ | |
token | String | ✓ | unique |
expiresAt | DateTime | ✓ | |
acceptedAt | DateTime | - | |
invitedById | String | - | |
createdAt | DateTime | ✓ |
Diagram
mermaiderDiagram Invitation { id String [PK] email String organizationId String role UserRole token String [UNIQUE] expiresAt DateTime acceptedAt DateTime? invitedById String? createdAt DateTime } Invitation ||--|| Organization : ""
Relationships
- HAS_ONE →
Organization
Was this page helpful?