mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Column naming for join column
This commit is contained in:
parent
8f304e36be
commit
f8a50d320b
1 changed files with 1 additions and 1 deletions
|
|
@ -198,7 +198,7 @@ export class Group extends BaseEntity {
|
|||
name!: string
|
||||
|
||||
@OneToOne(() => User)
|
||||
@JoinColumn()
|
||||
@JoinColumn({ name: 'created_at' })
|
||||
createdBy!: User
|
||||
|
||||
@Column({ type: 'timestamp', name: 'created_at' })
|
||||
|
|
|
|||
Loading…
Reference in a new issue