mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Encrypt more stuff in the cleanup routine [skip ci]
This commit is contained in:
@@ -229,7 +229,17 @@ class Cleanup
|
||||
}
|
||||
unset($set, $entry, $amount);
|
||||
|
||||
//encrypt piggy bank targetamount
|
||||
// encrypt piggy bank targetamount
|
||||
$set = PiggyBank::whereNull('targetamount_encrypted')->take(5)->get();
|
||||
/** @var PiggyBank $entry */
|
||||
foreach ($set as $entry) {
|
||||
$count++;
|
||||
$amount = $entry->targetamount;
|
||||
$entry->targetamount = $amount;
|
||||
$entry->save();
|
||||
}
|
||||
unset($set, $entry, $amount);
|
||||
|
||||
//encrypt preference name (add field)
|
||||
//encrypt preference data (add field)
|
||||
//encrypt transaction amount
|
||||
|
Reference in New Issue
Block a user