mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-09 06:01:35 +01:00
Implemented single table inhieratance for NameSources
This commit is contained in:
parent
dfde4e34f5
commit
647bc81965
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user