summaryrefslogtreecommitdiff
path: root/queries/match.sql
diff options
context:
space:
mode:
authorKapil Viren Ahuja <kvahuja@users.noreply.github.com>2017-02-25 18:34:41 +0530
committerschneefux <schneefux+github@schneefux.xyz>2017-02-25 14:04:41 +0100
commit2309c313b648e06b3c441ab8aafd845939dedc48 (patch)
tree57c69e8eb089f6bb046354e0f642c70c22afd991 /queries/match.sql
parentf96085e5b3ec8931cf6eb06c4b1dae3b82967340 (diff)
downloadprocessor-2309c313b648e06b3c441ab8aafd845939dedc48.tar.gz
processor-2309c313b648e06b3c441ab8aafd845939dedc48.zip
fixing last bit of model (refactoring phase 1) (#19)
Diffstat (limited to 'queries/match.sql')
-rw-r--r--queries/match.sql6
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/match.sql b/queries/match.sql
index 5dfa692..a07652f 100644
--- a/queries/match.sql
+++ b/queries/match.sql
@@ -7,9 +7,9 @@ attributes->>'gameMode' AS "gameMode",
COALESCE(NULLIF(attributes->>'patchVersion', ''), '0') AS "patchVersion",
attributes->>'shardId' AS "shardId",
attributes->'stats'->>'endGameReason' AS "endGameReason",
-attributes->'stats'->>'queue' AS "queue" --,
+attributes->'stats'->>'queue' AS "queue" ,
---relationships->'rosters'->'data'->0->>'id' as "roster_1",
---relationships->'rosters'->'data'->1->>'id' as "roster_2"
+relationships->'rosters'->'data'->0->>'id' as "roster_1",
+relationships->'rosters'->'data'->1->>'id' as "roster_2"
FROM "match"