Selaa lähdekoodia

FD3-474 se quitó validación sobre campo opcode en HostType

Guillermo Espinoza 7 vuotta sitten
vanhempi
commit
0789411aa2
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 3
      src/IPv4Bundle/Entity/HostType.php

+ 0 - 3
src/IPv4Bundle/Entity/HostType.php

@@ -11,7 +11,6 @@ use Symfony\Component\Validator\Constraints as Assert;
  *
  * @UniqueEntity("name")
  * @UniqueEntity("shortname")
- * @UniqueEntity("opcode")
  */
 class HostType
 {
@@ -47,8 +46,6 @@ class HostType
      * @var string $opcode
      *
      * @ORM\Column(type="string", length=100, unique=true)
-     *
-     * @Assert\NotBlank
      */
     protected $opcode;