mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Join user on subscription
This commit is contained in:
parent
ce3f1f789c
commit
166a45f142
1 changed files with 1 additions and 0 deletions
|
|
@ -276,6 +276,7 @@ export class Subscription extends BaseEntity {
|
|||
id!: string
|
||||
|
||||
@JoinColumn({ name: 'user_id' })
|
||||
@ManyToOne(() => User, (user) => user.articles, { eager: true })
|
||||
user!: User
|
||||
|
||||
@Column('text')
|
||||
|
|
|
|||
Loading…
Reference in a new issue