Add routine that caches account balances. Add it to the /flush routine as well.

This commit is contained in:
James Cole
2024-05-12 06:24:11 +02:00
parent d356d39d43
commit cebfaa32bf
6 changed files with 121 additions and 5 deletions

View File

@@ -0,0 +1,12 @@
<?php
namespace FireflyIII\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class AccountBalance extends Model
{
protected $fillable = ['account_id', 'transaction_currency_id', 'balance'];
use HasFactory;
}