From 26b8c3637bbdb41bd550c5fa352fbf6dbc4cf200 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Thu, 6 Oct 2016 11:20:09 +0300 Subject: [PATCH] Exclude invalid activities --- app/Console/Commands/CheckData.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/Console/Commands/CheckData.php b/app/Console/Commands/CheckData.php index b5a2d4304d9e..779aee817465 100644 --- a/app/Console/Commands/CheckData.php +++ b/app/Console/Commands/CheckData.php @@ -92,6 +92,7 @@ class CheckData extends Command { $count = DB::table('activities') ->where('activity_type_id', '=', 5) ->where('json_backup', '=', '') + ->whereNotIn('id', [634386, 756352, 756353, 756356]) ->count(); if ($count > 0) {