Exclude invalid activities

This commit is contained in:
Hillel Coren 2016-10-06 11:20:25 +03:00
parent 2baf342c85
commit 8fd45b4985

View File

@ -74,6 +74,7 @@ class CheckData extends Command {
$count = DB::table('activities')
->where('activity_type_id', '=', 5)
->where('json_backup', '=', '')
->whereNotIn('id', [634386, 756352, 756353, 756356])
->count();
$this->info($count . ' activities with blank invoice backup');