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