mirror of
https://github.com/tchapi/davis.git
synced 2025-04-15 10:01:51 +02:00
Fix entities relations
This commit is contained in:
parent
4d0414188c
commit
75a84eece5
@ -28,7 +28,7 @@ class AddressBookChange
|
||||
private $synctoken;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\AddressBook", inversedBy="addressBookChanges")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\AddressBook", inversedBy="changes")
|
||||
* @ORM\JoinColumn(name="addressbookid", nullable=false)
|
||||
*/
|
||||
private $addressBook;
|
||||
|
@ -28,7 +28,7 @@ class CalendarChange
|
||||
private $synctoken;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Calendar")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Calendar", inversedBy="changes")
|
||||
* @ORM\JoinColumn(name="calendarid", nullable=false)
|
||||
*/
|
||||
private $calendar;
|
||||
|
@ -28,7 +28,7 @@ class CalendarObject
|
||||
private $uri;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Calendar")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\Calendar", inversedBy="objects")
|
||||
* @ORM\JoinColumn(name="calendarid", nullable=false)
|
||||
*/
|
||||
private $calendar;
|
||||
|
@ -18,7 +18,7 @@ class Card
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\AddressBook")
|
||||
* @ORM\ManyToOne(targetEntity="App\Entity\AddressBook", inversedBy="cards")
|
||||
* @ORM\JoinColumn(name="addressbookid", nullable=false)
|
||||
*/
|
||||
private $addressBook;
|
||||
|
Loading…
x
Reference in New Issue
Block a user