mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add archived at for library_items
This commit is contained in:
parent
531f23fc4c
commit
fa224d118e
1 changed files with 3 additions and 6 deletions
|
|
@ -343,12 +343,6 @@ export class LibraryItem extends BaseEntity {
|
|||
@Column('text', { nullable: true })
|
||||
subscription?: string | null
|
||||
|
||||
@Column('text', { array: true, nullable: true })
|
||||
recommender_names?: string[] | null
|
||||
|
||||
@Column('text', { array: true, nullable: true })
|
||||
label_names?: string[] | null
|
||||
|
||||
@OneToOne(() => UploadFile, { onDelete: 'CASCADE' })
|
||||
@JoinColumn({ name: 'upload_file_id' })
|
||||
uploadFile?: UploadFile
|
||||
|
|
@ -359,6 +353,9 @@ export class LibraryItem extends BaseEntity {
|
|||
@Column({ type: 'timestamp', name: 'deleted_at' })
|
||||
deletedAt?: Date | null
|
||||
|
||||
@Column({ type: 'timestamp', name: 'archived_at' })
|
||||
archivedAt!: Date | null
|
||||
|
||||
@Column({ type: 'timestamp', name: 'created_at' })
|
||||
createdAt!: Date
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue