update failed msg model

This commit is contained in:
2026-03-17 10:31:14 +08:00
parent 2ce5fb4f3e
commit 5b6552a0ce
+4 -2
View File
@@ -30,13 +30,15 @@ class FailedMessage extends Model
{ {
protected ?string $table = 'failed_messages'; protected ?string $table = 'failed_messages';
public bool $timestamps = false; public bool $timestamps = true;
public const UPDATED_AT = null;
protected array $fillable = [ protected array $fillable = [
'error_id', 'data_type', 'platform', 'platform_id', 'error_id', 'data_type', 'platform', 'platform_id',
'company_id', 'store_id', 'error_type', 'error_message', 'company_id', 'store_id', 'error_type', 'error_message',
'error_code', 'error_trace', 'original_message', 'error_code', 'error_trace', 'original_message',
'retry_count', 'message_id', 'failed_at', 'created_at', 'retry_count', 'message_id', 'failed_at',
]; ];
protected array $casts = [ protected array $casts = [