mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix update sql
This commit is contained in:
parent
3c75a23e75
commit
056bf9ebf1
2 changed files with 2 additions and 2 deletions
|
|
@ -129,7 +129,7 @@ export class LibraryItem {
|
|||
@JoinColumn({ name: 'upload_file_id' })
|
||||
uploadFile?: UploadFile
|
||||
|
||||
// get upload_file_id without loading the uploadFile entity
|
||||
// get upload_file_id without joining relations
|
||||
@Column('text', { nullable: true })
|
||||
uploadFileId?: string
|
||||
|
||||
|
|
|
|||
|
|
@ -242,7 +242,7 @@ export const parsedContentToLibraryItem = ({
|
|||
publishedAt: validatedDate(
|
||||
publishedAt || parsedContent?.publishedDate || undefined
|
||||
),
|
||||
uploadFile: { id: uploadFileId ?? undefined },
|
||||
uploadFileId: uploadFileId || undefined,
|
||||
readingProgressTopPercent: 0,
|
||||
readingProgressHighestReadAnchor: 0,
|
||||
state: state
|
||||
|
|
|
|||
Loading…
Reference in a new issue