From 66f133f5bcfd66f2c45ff1a9c661a6cfd9d1d393 Mon Sep 17 00:00:00 2001 From: lutangar Date: Mon, 6 Sep 2021 16:17:39 +0200 Subject: [PATCH] fix(domain): allow duplicated domain names > fix previous PR #442 --- src/Entity/DomainName.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Entity/DomainName.php b/src/Entity/DomainName.php index c92a133..bef56d9 100644 --- a/src/Entity/DomainName.php +++ b/src/Entity/DomainName.php @@ -8,7 +8,6 @@ use Doctrine\Common\Collections\Collection; use Doctrine\ORM\Mapping as ORM; use Knp\DoctrineBehaviors\Model as ORMBehaviors; -use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity; use Symfony\Component\Validator\Constraints as Assert; /** @@ -16,8 +15,6 @@ * * @ORM\Table(name="domain_name") * @ORM\Entity - * - * @UniqueEntity("name") */ class DomainName {