Images now fetch their uploader lazily
This commit is contained in:
parent
52bf9b1898
commit
cb729f6be4
@ -44,7 +44,7 @@ open class Role(
|
||||
open class Image(
|
||||
@Column(unique = true)
|
||||
open var filename: String = "",
|
||||
@ManyToOne
|
||||
@ManyToOne(fetch = FetchType.LAZY)
|
||||
@JoinColumn(name = "uploader")
|
||||
open var uploader: User = User(),
|
||||
@ManyToMany
|
||||
|
Loading…
Reference in New Issue
Block a user