web3.news/prisma/schema.prisma

21 lines
442 B
Plaintext

generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "debian-openssl-1.1.x"]
}
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
model Article {
@@map("articles")
id Int @id @default(autoincrement())
title String
cid String @unique
url String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
site String
}