From 5b6552a0ceee4d0f119d501756d1af0807f81b6c Mon Sep 17 00:00:00 2001 From: Nick Zeng Date: Tue, 17 Mar 2026 10:31:14 +0800 Subject: [PATCH] update failed msg model --- backend/app/Model/FailedMessage.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/backend/app/Model/FailedMessage.php b/backend/app/Model/FailedMessage.php index 168ed27..7a9f9fa 100644 --- a/backend/app/Model/FailedMessage.php +++ b/backend/app/Model/FailedMessage.php @@ -30,13 +30,15 @@ class FailedMessage extends Model { protected ?string $table = 'failed_messages'; - public bool $timestamps = false; + public bool $timestamps = true; + + public const UPDATED_AT = null; protected array $fillable = [ 'error_id', 'data_type', 'platform', 'platform_id', 'company_id', 'store_id', 'error_type', 'error_message', 'error_code', 'error_trace', 'original_message', - 'retry_count', 'message_id', 'failed_at', 'created_at', + 'retry_count', 'message_id', 'failed_at', ]; protected array $casts = [