// This file is automatically generated by Keystone, do not modify it manually. // Modify your Keystone config when you want to change this. datasource sqlite { provider = "sqlite" } generator client { provider = "prisma-client" output = "./generated/prisma" } model Task { id String @id @default(cuid()) label String @default("") priority String? isComplete Boolean @default(false) assignedTo Person? @relation("Task_assignedTo", fields: [assignedToId], references: [id]) assignedToId String? @map("assignedTo") finishBy DateTime? @@index([assignedToId]) } model Person { id String @id @default(cuid()) name String @default("") tasks Task[] @relation("Task_assignedTo") }