From fcbc4c0a6a9a0fff9a418e0203d2ecab3d1fe3ae Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 10 Jan 2025 17:37:53 +0300 Subject: [PATCH] =?utf8?q?=D0=A3=D0=B1=D1=80=D0=B0=D0=BB=20telegram=5Fchat?= =?utf8?q?=5Fid=20=D0=B8=D0=B7=20=D0=BC=D0=BE=D0=B4=D0=B5=D0=BB=D0=B8=20Us?= =?utf8?q?ers?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- erp24/records/Users.php | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/erp24/records/Users.php b/erp24/records/Users.php index c68c1ae9..86f543c5 100755 --- a/erp24/records/Users.php +++ b/erp24/records/Users.php @@ -66,7 +66,6 @@ use yii\base\StaticInstanceInterface; * @property int $events Импортированы ли события * @property string|null $first_minus_balance * @property string $info - * @property string $telegram_chat_id */ class Users extends \yii\db\ActiveRecord { @@ -182,11 +181,11 @@ class Users extends \yii\db\ActiveRecord 'store_id', 'first_minus_balance', 'telegram_unsubscribed_at', - 'telegram_chat_id' + ], 'safe' ], - [['pol', 'info', 'telegram_created_at', 'telegram_chat_id'], 'string'], + [['pol', 'info', 'telegram_created_at'], 'string'], [ [ 'forgot', @@ -215,7 +214,7 @@ class Users extends \yii\db\ActiveRecord [['name_name', 'name_last', 'kod'], 'string', 'max' => 20], [['name_family'], 'string', 'max' => 25], [['comment', 'sale_store'], 'string', 'max' => 200], - [['email', 'telegram_chat_id'], 'string', 'max' => 70], + [['email'], 'string', 'max' => 70], [['phone_old'], 'string', 'max' => 250], [['card', 'check_id'], 'string', 'max' => 35], [['password', 'keycode', 'seller_id'], 'string', 'max' => 36], @@ -286,8 +285,7 @@ class Users extends \yii\db\ActiveRecord 'black_list' => 'Black List', 'events' => 'Events', 'telegram_unsubscribed_at' => 'Telegram Unsubscribed At', - 'telegram_chat_id' => 'Telegram ChatID' - ]; + ]; } public function getReferral() -- 2.39.5