+1 vote

received by email:

Missing @ORM\Id when primary key is also foreign key with filled "column" property

enter image description here

enter image description here

  /**
     * @ORM\JoinColumn(name="products_id", referencedColumnName="products_id", nullable=false, unique=true)
     * @ORM\OneToOne(targetEntity="Product", inversedBy="productDescription")
     */
    private $product;
in Solved by Skipper developer (137k points)
recategorized by

1 Answer

0 votes
by Skipper developer (137k points)