From 8c838bd358ea7a50d8464e794c3a09f58ba838ff Mon Sep 17 00:00:00 2001 From: Rowan Seymour Date: Fri, 15 Feb 2019 09:48:39 -0500 Subject: [PATCH] Don't filter on is_test Should only be deployed once https://github.com/nyaruka/rapidpro/pull/2319 is deployed --- indexer.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer.go b/indexer.go index 4cb1cd7..9e0c0b1 100644 --- a/indexer.go +++ b/indexer.go @@ -397,7 +397,7 @@ SELECT org_id, id, modified_on, is_active, row_to_json(t) FROM ( ) g ) as groups FROM contacts_contact - WHERE is_test = FALSE AND modified_on >= $1 + WHERE modified_on >= $1 ORDER BY modified_on ASC LIMIT 500000 ) t;