diff --git a/src/Entity/PriceInformations/Pricedetail.php b/src/Entity/PriceInformations/Pricedetail.php index 41ee9309..883bed59 100644 --- a/src/Entity/PriceInformations/Pricedetail.php +++ b/src/Entity/PriceInformations/Pricedetail.php @@ -64,7 +64,7 @@ use Symfony\Component\Validator\Constraints as Assert; * @ORM\Entity() * @ORM\Table("`pricedetails`") * @ORM\HasLifecycleCallbacks() - * @UniqueEntity(fields={"orderdetail", "min_discount_quantity"}) + * @UniqueEntity(fields={"min_discount_quantity", "orderdetail"}) */ class Pricedetail extends AbstractDBElement implements TimeStampableInterface {