silverwolf-x's picture
download
raw
590 Bytes
generator client {
provider = "prisma-client-js"
output = "../lib/generated/prisma-client"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id Int @id @default(autoincrement())
email String @unique
name String?
posts Post[]
}
model Post {
id Int @id @default(autoincrement())
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
title String
content String?
published Boolean @default(false)
authorId Int
author User @relation(fields: [authorId], references: [id])
}

Xet Storage Details

Size:
590 Bytes
·
Xet hash:
91843418ba965c0a938e3b46d6feeee0157bade312371418ca3353f726663675

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.