Guillermo Espinoza 7 лет назад
Родитель
Сommit
8fc7741688
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/CablemodemBundle/Entity/CMTSModel.php

+ 1 - 1
src/CablemodemBundle/Entity/CMTSModel.php

@@ -26,7 +26,7 @@ class CMTSModel
     protected $id;
 
     /**
-     * @ORM\Column(type="string", length=100)
+     * @ORM\Column(type="string", length=100, unique=true)
      * 
      * @Assert\NotNull
      */