added player stats table

This commit is contained in:
2024-01-26 19:15:33 -05:00
parent 0db1ffd667
commit ed0d8d2389
4 changed files with 128 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
-- Verify leetify-data:player-stats on pg
BEGIN;
-- XXX Add verifications here.
SELECT id, gameId, gameFinishedAt, steam64Id, name, preaim, reactionTime,
accuracy, accuracyEnemySpotted, accuracyHead, shotsFiredEnemySpotted,
shotsFired, shotsHitEnemySpotted, shotsHitFriend, shotsHitFriendHead,
shotsHitFoe, shotsHitFoeHead, utilityOnDeathAvg, heFoesDamageAvg,
heFriendsDamageAvg, heThrown, molotovThrown, smokeThrown,
smokeThrownCT, smokeThrownCTGood, smokeThrownCTGoodRatio, smokeThrownCTFoes,
counterStrafingShotsAll, counterStrafingShotsBad, counterStrafingShotsGood,
counterStrafingShotsGoodRatio, flashbangHitFoe, flashbangLeadingToKill,
flashbangHitFoeAvgDuration, flashbangHitFriend, flashbangThrown, flashAssist,
score, initialTeamNumber, mvps, ctRoundsWon, ctRoundsLost, tRoundsWon,
tRoundsLost, sprayAccuracy, molotovFoesDamageAvg, molotovFriendsDamageAvg,
color, totalKills, totalDeaths, kdRatio, multi2k, multi3k, multi4k, multi5k,
hltvRating, hsp, roundsSurvived, roundsSurvivedPercentage, dpr, totalAssists,
totalDamage, tradeKillOpportunities, tradeKillAttempts, tradeKillsSucceeded,
tradeKillAttemptsPercentage, tradeKillsSuccessPercentage,
tradeKillOpportunitiesPerRound, tradedDeathOpportunities,
tradedDeathAttempts, tradedDeathAttemptsPercentage, tradedDeathsSucceeded,
tradedDeathsSuccessPercentage, leetifyRating, personalPerformanceRating,
ctLeetifyRating, tLeetifyRating, leetifyUserId, isCollector, isProPlan,
isLeetifyStaff
FROM data.player_stats;
ROLLBACK;