@devries-cameron20 / t3code Mirror · read-only
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 21, 07:15 UTC

main
psl 18 lines 310 Bytes
Raw
1 model User {
2 id Int @id @default(autoincrement())
3 email String @unique
4 name String?
5 posts Post[]
6
7 @@map("user")
8 }
9
10 model Post {
11 id Int @id @default(autoincrement())
12 title String
13 authorId Int
14 author User @relation(fields: [authorId], references: [id])
15
16 @@index([authorId])
17 @@map("post")
18 }