From: Alexander Smirnov Date: Mon, 24 Mar 2025 07:40:08 +0000 (+0300) Subject: [ERP-356] date column X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=eb4f4c8545ab7bcb3d113278c7be11e2c48a4d59;p=erp24_rep%2Fyii-erp24%2F.git [ERP-356] date column --- diff --git a/erp24/migrations/m250319_054813_create_table_user_bonus_send_to_tg_logs.php b/erp24/migrations/m250319_054813_create_table_user_bonus_send_to_tg_logs.php index 5f17db88..805a48de 100755 --- a/erp24/migrations/m250319_054813_create_table_user_bonus_send_to_tg_logs.php +++ b/erp24/migrations/m250319_054813_create_table_user_bonus_send_to_tg_logs.php @@ -23,7 +23,8 @@ class m250319_054813_create_table_user_bonus_send_to_tg_logs extends Migration 'status' => $this->integer()->notNull()->defaultValue(0)->comment('Кол-во упоминаний данной записи'), 'check_id' => $this->string(36)->notNull()->comment('guid чека'), 'phone' => $this->string()->notNull()->comment('телефон'), - 'bonusCount' => $this->integer()->notNull()->comment('число бонусов') + 'bonusCount' => $this->integer()->notNull()->comment('число бонусов'), + 'date' => $this->dateTime()->notNull(), ]); } }