summaryrefslogtreecommitdiff
path: root/queries/participant.sql
diff options
context:
space:
mode:
authorschneefux <schneefux+commit@schneefux.xyz>2017-03-03 22:24:04 +0100
committerschneefux <schneefux+commit@schneefux.xyz>2017-03-03 22:24:04 +0100
commite84c88441ed7e455ad708b8c3246046f0f400f00 (patch)
tree5f49311269ac0097247d3733a06b0e7cfdd35041 /queries/participant.sql
parent64eea97456e1c45e8f08f3d18fcf86143f94cd53 (diff)
parent3eaf615aea417c47ca7a9a65cb91dab256303dad (diff)
downloadprocessor-e84c88441ed7e455ad708b8c3246046f0f400f00.tar.gz
processor-e84c88441ed7e455ad708b8c3246046f0f400f00.zip
Merge branch 'develop' of https://github.com/vainglorygame/processor into develop
Diffstat (limited to 'queries/participant.sql')
-rw-r--r--queries/participant.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/queries/participant.sql b/queries/participant.sql
index 8be7825..d4490e9 100644
--- a/queries/participant.sql
+++ b/queries/participant.sql
@@ -26,7 +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",
+COALESCE(NULLIF(participant->'data'->'attributes'->'stats'->>'turretKills', ''), '0')::int 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",