Add column to fillable array

This commit is contained in:
James Cole
2024-11-06 11:59:37 +01:00
parent 7af9dce33b
commit c398383905
6 changed files with 6 additions and 6 deletions

View File

@@ -42,7 +42,7 @@ class PiggyBankEvent extends Model
'date' => 'date',
];
protected $fillable = ['piggy_bank_id', 'transaction_journal_id', 'date', 'amount'];
protected $fillable = ['piggy_bank_id', 'transaction_journal_id', 'date', 'date_tz','amount'];
protected $hidden = ['amount_encrypted'];