web3.news/prisma/schema.prisma

21 lines
408 B
Plaintext
Raw Normal View History

generator client {
2023-12-12 01:02:52 +00:00
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
model Article {
@@map("articles")
id Int @id @default(autoincrement())
title String
slug String
2023-12-12 01:08:50 +00:00
cid String @unique
url String
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
site String
}