// 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 Post { id String @id @default(cuid()) title String @default("") publishDate DateTime @default(now()) author Author? @relation("Post_author", fields: [authorId], references: [id]) authorId String? @map("author") @@index([authorId]) } model Author { id String @id @default(cuid()) name String @default("") posts Post[] @relation("Post_author") }