mirror of
https://github.com/flibusta-apps/book_library_server.git
synced 2025-12-06 07:05:36 +01:00
Add year to book model
This commit is contained in:
@@ -98,6 +98,7 @@ model Book {
|
||||
uploaded DateTime @db.Date
|
||||
is_deleted Boolean @default(false)
|
||||
pages Int?
|
||||
year Int @db.SmallInt @default(0)
|
||||
source Source @relation(fields: [source_id], references: [id], onDelete: NoAction, onUpdate: NoAction, map: "fk_books_sources_id_source")
|
||||
book_annotation BookAnnotation?
|
||||
book_authors BookAuthor[]
|
||||
|
||||
Reference in New Issue
Block a user