Web Development, Typescript, Orm, Full Stack.
using Prisma. Here’s an example: model User { id String @default(cuid()) email String @unique @email name String todos Todo[] // 🔐 user can fully control himself (`auth()` represents the current user) @@allow('all', auth() == this) // 🔐 user profiles are readable to all login users // `auth() ==