summaryrefslogtreecommitdiff
path: root/queries/match_results.sql
diff options
context:
space:
mode:
authorKapil Viren Ahuja <kvahuja@users.noreply.github.com>2017-02-19 17:04:35 +0530
committerGitHub <noreply@github.com>2017-02-19 17:04:35 +0530
commit7eb07c0ccf2f464e3936b24136e41471ff1c1ff7 (patch)
treec117aecbc2276c875edd7a328f15ea872c1c8b64 /queries/match_results.sql
parenteaf6b29760f13040444707eecf9c342c67bd6ffb (diff)
parentd940ad82f7e34576bf6cc6b8a93cbc298765315e (diff)
downloadprocessor-7eb07c0ccf2f464e3936b24136e41471ff1c1ff7.tar.gz
processor-7eb07c0ccf2f464e3936b24136e41471ff1c1ff7.zip
Merge pull request #14 from vainglorygame/features/web-db-model-refactoring
Features web db model refactoring
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