Merge branch '62-fix-constraints-in-trigger' into 'dev'
fix Closes #62 See merge request sa4-2020/the-sanmarinoes/backend!90
This commit is contained in:
commit
0383a547c1
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public abstract class Trigger<D extends Device> {
|
|||
@ApiModelProperty(hidden = true)
|
||||
private long id;
|
||||
|
||||
@ManyToOne(targetEntity = OutputDevice.class)
|
||||
@ManyToOne(targetEntity = Device.class)
|
||||
@JoinColumn(name = "device_id", updatable = false, insertable = false)
|
||||
@GsonExclude
|
||||
private D device;
|
||||
|
|
Loading…
Reference in a new issue