-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathschema.prisma
More file actions
35 lines (31 loc) · 853 Bytes
/
schema.prisma
File metadata and controls
35 lines (31 loc) · 853 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url = "file:../db/pixiv.db"
}
model scrapeProgress {
category String @id
newestScraped String @default("2000-01-01 00:00:00")
oldestScraped String @default("9999-12-31 23:59:59")
}
model PixivArticle {
tag_name String @id
summary String
updated_at String
main_illst_url String
view_count Int
illust_count Int
check_count Int
related_tags String
parent String?
lastScraped String
reading String?
header String?
mainText String?
lastScrapedReading String? // Unused
lastScrapedArticle String?
}