Hi,
i'm testing Skipper and whereas i created a new project from mysql workbench model, then i realized that even if associations are well described in Diagram of Skipper, the generated Entities doesn't have any JoinColumn annotation. All foreign keys are also not in the class but in Class annotation as index.
Here is a sample with this class that has a foreign key idagence in the diagram but is not part of the entity property. In place, there is an @ROM\Index with indid_agence (which is the name of the the related index.
/**
* @ORM\Entity
* @ORM\Table(
* name="timeline_agence",
* indexes={
* @ORM\Index(name="ind_id_agence", columns={"IdAgence"})
* }
* )
*/
class timeline_agence
{
...
And the Agence Class:
/**
* @ORM\Entity
* @ORM\Table(name="agence", indexes={@ORM\Index(name="agence_id_concept", columns={"IdConcept"})})
*/
class agence
{
/**
* @ORM\Id
* @ORM\Column(type="integer", length=11)
* @ORM\GeneratedValue(strategy="AUTO")
*/
private $id_agence;
...
I expected timelineagence to get a property idagence with JOIN annotation. Maybe i missed some config somewhere.
Skipper version: 3.2.15.1478
Thanks