// This is your Prisma schema file, // learn more about it in the docs: https://pris.ly/d/prisma-schema generator client { provider = "prisma-client-js" } datasource db { provider = "postgresql" url = env("DATABASE_URL") } model project { id String @id @default(uuid()) name String @unique shareid String @unique // Zufällige ID für sichere Links (z.B. "abc7x9k2") password String htmlfilename String? // GEÄNDERT: Optional, damit null gespeichert werden kann (für Multi-HTML-Projekte) uploaddate DateTime @default(now()) expirydate DateTime? // Optionales Ablaufdatum createdat DateTime @default(now()) }