mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Changed inhieratance type to joined
This commit is contained in:
@@ -9,10 +9,11 @@ use Symfony\Component\Validator\Constraints as Assert;
|
||||
|
||||
/**
|
||||
* @author kevinfrantz
|
||||
*
|
||||
* @todo Change to SINGLE_TABLE. JOINED was necessary because SINGLE_TABLE leaded to:
|
||||
* @see << SQLSTATE[42S02]: Base table or view not found: 1146 Table 'DEV_DATABASE.source_data_name' doesn't exist >>
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="source_data_name")
|
||||
* @ORM\InheritanceType("SINGLE_TABLE")
|
||||
* @ORM\InheritanceType("JOINED")
|
||||
* @ORM\DiscriminatorColumn(name="discr", type="string")
|
||||
* @ORM\DiscriminatorMap({"nickname" = "NicknameSource","firstname" = "FirstNameSource", "surname" = "SurnameSource"})
|
||||
*/
|
||||
|
Reference in New Issue
Block a user