Fixed schema bugs

This commit is contained in:
Kevin Frantz
2018-11-01 22:40:34 +01:00
parent fdeaa390d3
commit e8ac70de59
3 changed files with 4 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ use App\Entity\Attribut\MembershipsAttribut;
* @ORM\Table(name="source")
* @ORM\InheritanceType("JOINED")
* @ORM\DiscriminatorColumn(name="discr", type="string")
* @ORM\DiscriminatorMap({"user" = "UserSource","name" = "NameSource","group" = "GroupSource"})
* @ORM\DiscriminatorMap({"user" = "UserSource","name" = "NameSource","group" = "App\Entity\Source\Collection\MemberCollectionSource"})
*/
abstract class AbstractSource extends AbstractEntity implements SourceInterface
{
@@ -43,7 +43,7 @@ abstract class AbstractSource extends AbstractEntity implements SourceInterface
* @todo Rename table to use the right schema
*
* @var Collection|MemberCollectionSource[]
* @ORM\ManyToMany(targetEntity="GroupSource",mappedBy="members")
* @ORM\ManyToMany(targetEntity="App\Entity\Source\Collection\MemberCollectionSource",mappedBy="members")
*/
protected $memberships;