vinext boiler

This commit is contained in:
JonLuca De Caro
2026-03-18 16:08:28 -07:00
commit a62d314b4a
22 changed files with 4722 additions and 0 deletions

25
prisma/schema.prisma Normal file
View File

@@ -0,0 +1,25 @@
generator client {
provider = "prisma-client"
output = "../generated/prisma"
moduleFormat = "esm"
generatedFileExtension = "ts"
importFileExtension = "ts"
engineType = "client"
}
datasource db {
provider = "postgresql"
}
model Post {
id String @id @default(cuid())
title String
slug String @unique
body String?
published Boolean @default(false)
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([published, createdAt])
}