mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Remove having clause for #2306
This commit is contained in:
parent
5f768a0525
commit
6fdfa722dd
@ -95,7 +95,6 @@ class DeleteEmptyJournals extends Command
|
||||
{
|
||||
$set = Transaction
|
||||
::whereNull('deleted_at')
|
||||
->having('the_count', '!=', '2')
|
||||
->groupBy('transactions.transaction_journal_id')
|
||||
->get([DB::raw('COUNT(transactions.transaction_journal_id) as the_count'), 'transaction_journal_id']);
|
||||
$total = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user