From 5fe84e0866f9cc38d9814f8d027f6e28000d04f3 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Fri, 23 Oct 2015 09:26:12 -0500 Subject: [PATCH] Fix legal entity to add autoincrement strategy - refs CT#7909 --- src/Chamilo/CoreBundle/Entity/Legal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chamilo/CoreBundle/Entity/Legal.php b/src/Chamilo/CoreBundle/Entity/Legal.php index 1232dfd034..11d1d9ea3d 100644 --- a/src/Chamilo/CoreBundle/Entity/Legal.php +++ b/src/Chamilo/CoreBundle/Entity/Legal.php @@ -52,7 +52,7 @@ class Legal * * @ORM\Column(name="legal_id", type="integer") * @ORM\Id - * @ORM\GeneratedValue(strategy="NONE") + * @ORM\GeneratedValue(strategy="AUTO") */ private $legalId;