From 5919e1df2d238928f8ab99ed913e2e5c74ad795c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E6=9C=9D=E4=BC=9F?= Date: Thu, 14 Nov 2024 10:37:25 +0800 Subject: [PATCH] init --- packages/bydauto/src/Models/Activity.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/bydauto/src/Models/Activity.php b/packages/bydauto/src/Models/Activity.php index 0a1459d..8b6103e 100644 --- a/packages/bydauto/src/Models/Activity.php +++ b/packages/bydauto/src/Models/Activity.php @@ -15,8 +15,7 @@ */ class Activity extends Model { - public const CREATED_AT = 'date_created'; - public const UPDATED_AT = 'date_updated'; + public $timestamps = false; protected $table = 'bydauto_activity'; protected $fillable = ['name', 'content', 'related_id', 'related_type']; protected $casts = ['content' => 'json'];