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

@@ -49,7 +49,7 @@ class CurrencyExchangeRate extends Model
'to_currency_id' => 'int',
'date' => 'datetime',
];
protected $fillable = ['user_id', 'from_currency_id', 'to_currency_id', 'date', 'rate'];
protected $fillable = ['user_id', 'from_currency_id', 'to_currency_id', 'date','date_tz', 'rate'];
public function fromCurrency(): BelongsTo
{