From eb4f4c8545ab7bcb3d113278c7be11e2c48a4d59 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Mon, 24 Mar 2025 10:40:08 +0300 Subject: [PATCH] [ERP-356] date column --- .../m250319_054813_create_table_user_bonus_send_to_tg_logs.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(), ]); } } -- 2.39.5