// This is your Prisma schema file, // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { provider = "prisma-client" output = "../libs/prisma-generated/src/lib/generated" } datasource db { provider = "postgresql" } // Enum for blog post status enum PostStatus { DRAFT PUBLISHED ARCHIVED } // Simple table for blog posts model Post { id String @id @default(cuid()) title String content String? status PostStatus @default(DRAFT) authorName String createdAt DateTime @default(now()) updatedAt DateTime @updatedAt @@map("posts") }