Fix relation and try to implement delete
This commit is contained in:
@ -27,7 +27,7 @@ class Snip
|
||||
#[ORM\OneToMany(mappedBy: 'snip', targetEntity: SnipContent::class, orphanRemoval: true)]
|
||||
private Collection $snipContents;
|
||||
|
||||
#[ORM\ManyToOne]
|
||||
#[ORM\OneToOne]
|
||||
private ?SnipContent $activeVersion = null;
|
||||
|
||||
#[ORM\Column(length: 255)]
|
||||
|
Reference in New Issue
Block a user