From 624d1d8b30d76f7ccd3498fefda3d5ec75653321 Mon Sep 17 00:00:00 2001
From: schneefux <schneefux+commit@schneefux.xyz>
Date: Thu, 2 Mar 2017 18:33:50 +0100
Subject: process turretKills

---
 queries/participant.sql | 1 +
 1 file changed, 1 insertion(+)

(limited to 'queries/participant.sql')

diff --git a/queries/participant.sql b/queries/participant.sql
index 7022d90..8be7825 100644
--- a/queries/participant.sql
+++ b/queries/participant.sql
@@ -26,6 +26,7 @@ COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'level', ''), '0'):
 COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'minionKills', ''), '0')::int AS "minionKills",
 COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'skillTier', ''), '0')::int AS "skillTier",
 COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'skinKey', ''), '0') AS "skinKey",
+COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'turretKills', ''), '0')::int::bool AS "turretKills",
 (participant->'data'->'attributes'->'stats'->>'wentAfk')::bool AS "wentAfk",
 (participant->'data'->'attributes'->'stats'->>'winner')::bool AS "winner",
 participant->'data'->'attributes'->'stats'->'itemGrants' AS "itemGrants",
-- 
cgit v1.3.1

