From efaa4140788257b3776d35827bc5f537e64fe798 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Tue, 4 Mar 2025 18:39:21 +0300 Subject: [PATCH] =?utf8?q?=D0=B4=D0=B5=D0=B1=D0=B0=D0=B3=2010?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/Users.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/erp24/records/Users.php b/erp24/records/Users.php index ac38ea25..26464554 100755 --- a/erp24/records/Users.php +++ b/erp24/records/Users.php @@ -91,6 +91,11 @@ class Users extends \yii\db\ActiveRecord return 'users'; } + public static function primaryKey() + { + return ['id']; + } + /** * {@inheritdoc} */ -- 2.39.5