Add timezone info to new objects.

This commit is contained in:
James Cole
2024-11-06 11:12:26 +01:00
parent fb3295bde1
commit 038790a5d6
7 changed files with 21 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ use Illuminate\Database\Eloquent\Relations\BelongsTo;
class AccountBalance extends Model
{
use HasFactory;
protected $fillable = ['account_id', 'title', 'transaction_currency_id', 'balance'];
protected $fillable = ['account_id', 'title', 'transaction_currency_id', 'balance','date','date_tz'];
public function account(): BelongsTo
{