diff --git a/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php b/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php index 2457430b..6d7bf1c1 100644 --- a/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php +++ b/msgphp/eav-bundle/0.2/src/Entity/Eav/Attribute.php @@ -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)