summaryrefslogtreecommitdiff
path: root/queries/match_results.sql
diff options
context:
space:
mode:
authorkvahuja <k.v.ahuja@gmail.com>2017-02-18 15:42:48 +0530
committerkvahuja <k.v.ahuja@gmail.com>2017-02-18 15:42:48 +0530
commit22add9e90e2c62a3a08d64b8c73a66b8de77bc97 (patch)
treed77b0a7a6e2425b1f2c27178edeb75b1d38dbbe8 /queries/match_results.sql
parentb7e442270e0427c8ebf0d246edd91c26d1ad37a1 (diff)
downloadshrinker-22add9e90e2c62a3a08d64b8c73a66b8de77bc97.tar.gz
shrinker-22add9e90e2c62a3a08d64b8c73a66b8de77bc97.zip
refactoring as part of https://github.com/vainglorygame/vainsocial.com/issues/17
Diffstat (limited to 'queries/match_results.sql')
-rw-r--r--queries/match_results.sql22
1 files changed, 0 insertions, 22 deletions
diff --git a/queries/match_results.sql b/queries/match_results.sql
deleted file mode 100644
index c493d5c..0000000
--- a/queries/match_results.sql
+++ /dev/null
@@ -1,22 +0,0 @@
-SELECT
-
-attributes->'stats'->>'side' AS "team",
-FALSE AS "winner",
-FALSE AS "surrender",
-0 AS "teamSize",
-'' AS "hero_1",
-'' AS "hero_2",
-'' AS "hero_3",
-0 AS "laneMinionsSlayed",
-0 AS "jungleMinionsSlayed",
-(attributes->'stats'->>'turretKills')::int AS "turretsDestroyed",
-(attributes->'stats'->>'heroKills')::int AS "kills",
-0 AS "assists",
-0 AS "deaths",
-(attributes->'stats'->>'krakenCaptures')::int AS "krakenCaptures",
-0 AS "goldMineCaptures",
-0 AS "crystalMineCaptures",
-0 AS "afkCount",
-0 AS "afkTime"
-
-FROM roster