Kind: Database Model
Source: atloria-monorepo/apps/database-parser/test/fixtures/user.entity.ts
Fields
| Field | Type | Required | Key |
|---|---|---|---|
id | uuid | ✓ | PK |
title | varchar | ✓ | |
content | text | - | |
published | boolean | ✓ | |
authorId | uuid | ✓ | |
createdAt | timestamp | ✓ | |
updatedAt | timestamp | ✓ |
Diagram
mermaiderDiagram Post { id uuid [PK, AUTO] title varchar content text? published boolean authorId uuid createdAt timestamp updatedAt timestamp } Post }o--|| User : "authorId"
Relationships
- BELONGS_TO →
User
Referenced By
User(HAS_MANY)
Was this page helpful?