From c91b7c96d895fa1b669d33b1ed0789904141a1d4 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Mon, 10 Feb 2025 10:15:45 +0800 Subject: [PATCH] feat: user account --- app/Model/UserAccount.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Model/UserAccount.php b/app/Model/UserAccount.php index d503e58..5dd7eeb 100644 --- a/app/Model/UserAccount.php +++ b/app/Model/UserAccount.php @@ -23,9 +23,13 @@ class UserAccount extends Model * The attributes that are mass assignable. */ protected array $fillable = []; + protected array $guarded = []; /** * The attributes that should be cast to native types. */ protected array $casts = ['id' => 'integer', 'user_id' => 'integer']; + + const CREATED_AT = null; + const UPDATED_AT = null; }