Web Development, Typescript, Orm, Full Stack.
null` means the user is anonymous @@allow('read', auth() != null) } model Todo { id String @default(cuid()) createdAt DateTime @default(now()) updatedAt DateTime @updatedAt title String published Boolean @default(false) owner User @relation(fields: [ownerId], references: [id], onDelete: Cascade)