mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
migration changed, further attempts to fix bug
This commit is contained in:
@@ -6,6 +6,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
|
||||
/**
|
||||
* @ORM\Entity()
|
||||
* @ORM\Table(name="chill_person_relations")
|
||||
*/
|
||||
class Relation
|
||||
{
|
||||
|
@@ -40,8 +40,8 @@ class Relationship
|
||||
private $toPerson;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=Relation::class, inversedBy="relationships")
|
||||
* @ORM\JoinColumn(nullable=false)
|
||||
* @ORM\ManyToOne(targetEntity=Relation::class)
|
||||
* @ORM\JoinColumn(nullable=false, name="relation_id", referencedColumnName="id")
|
||||
* @Assert\NotBlank()
|
||||
* @Groups({"read", "write"})
|
||||
*/
|
||||
|
Reference in New Issue
Block a user