[MsgPhpUserBundle] Add ORM GeneratedValue annotation

This commit is contained in:
Roland Franssen
2018-04-10 18:35:40 +02:00
committed by GitHub
parent f73468fb15
commit d6aaee28e9
@@ -11,7 +11,7 @@ use MsgPhp\User\UserIdInterface;
*/
class User extends BaseUser
{
/** @ORM\Id() @ORM\Column(type="msgphp_user_id") */
/** @ORM\Id() ORM\GeneratedValue() @ORM\Column(type="msgphp_user_id") */
private $id;
public function __construct(UserIdInterface $id)