Przeglądaj źródła

Fix legal entity to add autoincrement strategy - refs CT#7909

Yannick Warnier 9 lat temu
rodzic
commit
5fe84e0866
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Chamilo/CoreBundle/Entity/Legal.php

+ 1 - 1
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;