From: fomichev Date: Fri, 10 Jan 2025 14:37:53 +0000 (+0300) Subject: Убрал telegram_chat_id из модели Users X-Git-Tag: 1.7~91^2~1 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=fcbc4c0a6a9a0fff9a418e0203d2ecab3d1fe3ae;p=erp24_rep%2Fyii-erp24%2F.git Убрал telegram_chat_id из модели Users --- 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()