From 417fa0bc421932dcaec4f9b9968a34850294380e Mon Sep 17 00:00:00 2001 From: fomichev Date: Fri, 17 Apr 2026 16:29:32 +0300 Subject: [PATCH] =?utf8?q?fix(ERP-292):=20CURRENT=5FTIMESTAMP=20=D0=B2?= =?utf8?q?=D0=BC=D0=B5=D1=81=D1=82=D0=BE=20NOW()=20=D0=B2=20=D0=BC=D0=B8?= =?utf8?q?=D0=B3=D1=80=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../m260417_000001_create_products_1c_automark_predictions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/migrations/m260417_000001_create_products_1c_automark_predictions.php b/erp24/migrations/m260417_000001_create_products_1c_automark_predictions.php index 934b6963..c261788a 100644 --- a/erp24/migrations/m260417_000001_create_products_1c_automark_predictions.php +++ b/erp24/migrations/m260417_000001_create_products_1c_automark_predictions.php @@ -22,7 +22,7 @@ class m260417_000001_create_products_1c_automark_predictions extends Migration 'method' => $this->string(50)->notNull(), 'status' => $this->smallInteger()->notNull()->defaultValue(0), 'approved_by' => $this->integer()->null(), - 'created_at' => $this->timestamp()->notNull()->defaultExpression('NOW()'), + 'created_at' => $this->timestamp()->notNull()->defaultExpression('CURRENT_TIMESTAMP'), 'updated_at' => $this->timestamp()->null(), ]); -- 2.39.5