From f94d316160d4deb9a0c11b8ed06a2a915387a315 Mon Sep 17 00:00:00 2001 From: vladfo Date: Fri, 30 Aug 2024 17:47:19 +0300 Subject: [PATCH] =?utf8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?utf8?q?=D1=83=D0=BD=D0=B8=D0=BA=D0=B0=D0=BB=D1=8C=D0=BD=D0=BE=D1=81?= =?utf8?q?=D1=82=D1=8C=20=D0=B4=D0=BB=D1=8F=20=D0=BA=D0=BE=D0=B4=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/MotivationCostsItem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/records/MotivationCostsItem.php b/erp24/records/MotivationCostsItem.php index c12c0356..63b1ff9c 100644 --- a/erp24/records/MotivationCostsItem.php +++ b/erp24/records/MotivationCostsItem.php @@ -43,7 +43,7 @@ class MotivationCostsItem extends ActiveRecord ['data_type', 'in', 'range' => [self::DATA_TYPE_INT, self::DATA_TYPE_FLOAT, self::DATA_TYPE_STRING]], ['order', 'integer'], ['is_active', 'boolean'], - [['name', 'code'], 'unique'], + [['name', 'code', 'order'], 'unique'], ]; } -- 2.39.5