mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Exclude invalid activities
This commit is contained in:
parent
2baf342c85
commit
8fd45b4985
@ -74,6 +74,7 @@ class CheckData extends Command {
|
|||||||
$count = DB::table('activities')
|
$count = DB::table('activities')
|
||||||
->where('activity_type_id', '=', 5)
|
->where('activity_type_id', '=', 5)
|
||||||
->where('json_backup', '=', '')
|
->where('json_backup', '=', '')
|
||||||
|
->whereNotIn('id', [634386, 756352, 756353, 756356])
|
||||||
->count();
|
->count();
|
||||||
|
|
||||||
$this->info($count . ' activities with blank invoice backup');
|
$this->info($count . ' activities with blank invoice backup');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user