enter code here
If I specify some indices manually, like this:
* @ORM\Table(
* name="sys_config",
* indexes={@ORM\Index(name="bundle", columns={"bundle_name"})},
* uniqueConstraints={@ORM\UniqueConstraint(name="constant", columns={"bundle_name","const_name"})}
* )
* @ORM\Entity
... import the entity to Skipper, and export it to the ORM without applying any changes, Skipper adds extra field definitions for the columns specified in the indices:
/**
* @ORM\Column(nullable=true)
*/
private $const_name;
/**
* @ORM\Column(nullable=true)
*/
private $bundle_name;
although the field definitions already exist:
/**
* @var string
*
* @ORM\Column(type="string", length=255, nullable=false, name="bundle_name")
*/
private $bundle;
/**
* @var string
*
* @ORM\Column(type="string", length=40, nullable=false, name="const_name")
*/
private $constant;
Am I doing something wrong?