Fix heatmap issue and implement per round analysis

This commit is contained in:
Lol3rrr
2024-10-08 23:15:42 +02:00
parent 4353de4455
commit 539adecf5d
24 changed files with 58455 additions and 335 deletions

View File

@@ -0,0 +1,10 @@
-- Your SQL goes here
CREATE TABLE IF NOT EXISTS demo_round (
demo_id bigint REFERENCES demo_info(demo_id),
round_number int2 NOT NULL,
start_tick bigint NOT NULL,
end_tick bigint NOT NULL,
win_reason TEXT NOT NULL,
events JSON NOT NULL,
PRIMARY KEY (demo_id, round_number)
);