mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-20 05:19:02 +00:00
Add another cleanup routine. [skip ci]
This commit is contained in:
@@ -148,6 +148,17 @@ class Cleanup
|
|||||||
}
|
}
|
||||||
unset($set, $entry, $metadata);
|
unset($set, $entry, $metadata);
|
||||||
|
|
||||||
|
// encrypt account virtual balance amount
|
||||||
|
$set = Account::whereNull('virtual_balance_encrypted')->take(5)->get();
|
||||||
|
/** @var Account $entry */
|
||||||
|
foreach ($set as $entry) {
|
||||||
|
$count++;
|
||||||
|
$amount = $entry->amount;
|
||||||
|
$entry->amount = $amount;
|
||||||
|
$entry->save();
|
||||||
|
}
|
||||||
|
unset($set, $entry, $name);
|
||||||
|
|
||||||
//encrypt budget limit amount
|
//encrypt budget limit amount
|
||||||
//encrypt limit repetition amount
|
//encrypt limit repetition amount
|
||||||
//encrypt piggy bank event amount
|
//encrypt piggy bank event amount
|
||||||
|
|||||||
Reference in New Issue
Block a user