Add another cleanup routine. [skip ci]

This commit is contained in:
James Cole
2015-05-23 08:54:25 +02:00
parent 3c3b723913
commit b15b55227d

View File

@@ -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