diff --git a/application/src/Entity/Source/Data/Name/AbstractNameSource.php b/application/src/Entity/Source/Data/Name/AbstractNameSource.php index 12aace6..32c0180 100644 --- a/application/src/Entity/Source/Data/Name/AbstractNameSource.php +++ b/application/src/Entity/Source/Data/Name/AbstractNameSource.php @@ -11,9 +11,9 @@ use Doctrine\ORM\Mapping as ORM; * * @ORM\Entity * @ORM\Table(name="source_data_name") - * @ORM\InheritanceType("JOINED") + * @ORM\InheritanceType("SINGLE_TABLE") * @ORM\DiscriminatorColumn(name="discr", type="string") - * @ORM\DiscriminatorMap({"nickname" = "NicknameSource"}) + * @ORM\DiscriminatorMap({"nickname" = "NicknameSource","firstname" = "FirstNameSource", "lastname" = "LastNameSource"}) */ abstract class AbstractNameSource extends AbstractDataSource implements NameSourceInterface {