From: fomichev Date: Fri, 17 Apr 2026 13:29:32 +0000 (+0300) Subject: fix(ERP-292): CURRENT_TIMESTAMP вместо NOW() в миграции X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=417fa0bc421932dcaec4f9b9968a34850294380e;p=erp24_rep%2Fyii-erp24%2F.git fix(ERP-292): CURRENT_TIMESTAMP вместо NOW() в миграции --- 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(), ]);