Setup to allow creating snipped from API
This commit is contained in:
@@ -25,7 +25,7 @@ class Snip
|
||||
#[ORM\Column]
|
||||
public bool $public = false;
|
||||
|
||||
#[ORM\OneToMany(mappedBy: 'snip', targetEntity: SnipContent::class, orphanRemoval: true)]
|
||||
#[ORM\OneToMany(targetEntity: SnipContent::class, mappedBy: 'snip', orphanRemoval: true)]
|
||||
public Collection $snipContents;
|
||||
|
||||
#[ORM\OneToOne]
|
||||
|
Reference in New Issue
Block a user