Fix some columns
This commit is contained in:
@ -319,7 +319,7 @@ export class LibraryItem extends BaseEntity {
|
||||
@ManyToOne(() => User, (user) => user.articles, { eager: true })
|
||||
user!: User
|
||||
|
||||
@Column('text')
|
||||
@Column({ type: 'text', name: 'original_url' })
|
||||
originalUrl!: string
|
||||
|
||||
@Column('text')
|
||||
@ -331,12 +331,6 @@ export class LibraryItem extends BaseEntity {
|
||||
@Column('text', { nullable: true })
|
||||
author?: string | null
|
||||
|
||||
@Column('text', { nullable: true })
|
||||
siteName?: string | null
|
||||
|
||||
@Column('text')
|
||||
itemType!: string
|
||||
|
||||
@Column('text', { nullable: true })
|
||||
subscription?: string | null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user