@s-hirano-ist/s-database 1.18.6 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
- package/prisma/migrations/20260418090234_rating_to_required/migration.sql +8 -0
- package/prisma/migrations/20260419000000_merge_google_title_into_title/migration.sql +15 -0
- package/prisma/schema.prisma +2 -3
- package/src/generated/edge.js +10 -11
- package/src/generated/index-browser.js +4 -5
- package/src/generated/index.d.ts +79 -46
- package/src/generated/index.js +10 -11
- package/src/generated/package.json +3 -3
- package/src/generated/query_compiler_fast_bg.wasm +0 -0
- package/src/generated/query_compiler_fast_bg.wasm-base64.js +1 -1
- package/src/generated/runtime/client.d.ts +51 -51
- package/src/generated/runtime/client.js +19 -19
- package/src/generated/runtime/wasm-compiler-edge.js +15 -15
- package/src/generated/schema.prisma +2 -3
|
@@ -103,9 +103,8 @@ model Image {
|
|
|
103
103
|
model Book {
|
|
104
104
|
id String @id @db.VarChar(36)
|
|
105
105
|
isbn String @db.VarChar(17)
|
|
106
|
-
title String @db.VarChar(
|
|
106
|
+
title String @db.VarChar(512)
|
|
107
107
|
|
|
108
|
-
googleTitle String? @map("google_title") @db.VarChar(512)
|
|
109
108
|
googleSubTitle String? @map("google_subtitle") @db.VarChar(512)
|
|
110
109
|
googleAuthors String[] @map("google_authors")
|
|
111
110
|
googleDescription String? @map("google_description") @db.Text
|
|
@@ -116,7 +115,7 @@ model Book {
|
|
|
116
115
|
|
|
117
116
|
markdown String? @db.Text
|
|
118
117
|
|
|
119
|
-
rating Int
|
|
118
|
+
rating Int // 1-5
|
|
120
119
|
tags String[]
|
|
121
120
|
|
|
122
121
|
status Status
|