mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Add routine that caches account balances. Add it to the /flush routine as well.
This commit is contained in:
12
app/Models/AccountBalance.php
Normal file
12
app/Models/AccountBalance.php
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user