mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-11 15:16:55 +03:00
[MsgPhpEavBundle] Add ORM GeneratedValue annotation
This commit is contained in:
@@ -11,7 +11,7 @@ use MsgPhp\Eav\Entity\Attribute as BaseAttribute;
|
||||
*/
|
||||
class Attribute extends BaseAttribute
|
||||
{
|
||||
/** @ORM\Id() @ORM\Column(type="msgphp_attribute_id") */
|
||||
/** @ORM\Id() @ORM\GeneratedValue() @ORM\Column(type="msgphp_attribute_id") */
|
||||
private $id;
|
||||
|
||||
public function __construct(AttributeIdInterface $id)
|
||||
|
||||
Reference in New Issue
Block a user