mirror of
https://github.com/Team254/cheesy-arena-lite.git
synced 2026-03-09 21:56:50 -04:00
Update result and ranking models for 2016.
This commit is contained in:
@@ -21,7 +21,17 @@ CREATE TABLE matches (
|
||||
blue3issurrogate bool,
|
||||
status VARCHAR(16),
|
||||
startedat DATETIME,
|
||||
winner VARCHAR(16)
|
||||
winner VARCHAR(16),
|
||||
reddefense1 VARCHAR(3),
|
||||
reddefense2 VARCHAR(3),
|
||||
reddefense3 VARCHAR(3),
|
||||
reddefense4 VARCHAR(3),
|
||||
reddefense5 VARCHAR(3),
|
||||
bluedefense1 VARCHAR(3),
|
||||
bluedefense2 VARCHAR(3),
|
||||
bluedefense3 VARCHAR(3),
|
||||
bluedefense4 VARCHAR(3),
|
||||
bluedefense5 VARCHAR(3)
|
||||
);
|
||||
CREATE UNIQUE INDEX type_displayname ON matches(type, displayname);
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@ CREATE TABLE match_results (
|
||||
id INTEGER PRIMARY KEY,
|
||||
matchid int,
|
||||
playnumber int,
|
||||
matchtype VARCHAR(16),
|
||||
redscorejson text,
|
||||
bluescorejson text,
|
||||
redcardsjson text,
|
||||
|
||||
@@ -2,12 +2,11 @@
|
||||
CREATE TABLE rankings (
|
||||
teamid INTEGER PRIMARY KEY,
|
||||
rank int,
|
||||
qualificationaverage int,
|
||||
coopertitionpoints int,
|
||||
rankingpoints int,
|
||||
autopoints int,
|
||||
containerpoints int,
|
||||
totepoints int,
|
||||
litterpoints int,
|
||||
scalechallengepoints int,
|
||||
goalpoints int,
|
||||
defensepoints int,
|
||||
random REAL,
|
||||
disqualifications int,
|
||||
played int
|
||||
|
||||
Reference in New Issue
Block a user