]> git.sesse.net Git - ccbs/blobdiff - sql/ccbs.sql
Added a field in the bigscreen active groups allowing for versus play.
[ccbs] / sql / ccbs.sql
index c1848f79d6af846aba13c6f9775ba2591f69d592..839dd86879d6c9a2ff352caf2ea65d3b12a32879 100644 (file)
@@ -177,6 +177,7 @@ CREATE TABLE bigscreen.active_groups (
        round INTEGER NOT NULL,
        parallel INTEGER NOT NULL,
        num_machines INTEGER NOT NULL,
        round INTEGER NOT NULL,
        parallel INTEGER NOT NULL,
        num_machines INTEGER NOT NULL,
+       players_per_machine INTEGER NOT NULL CHECK ( players_per_machine IN (1, 2) ),
        last_updated TIMESTAMP NOT NULL,
 
        PRIMARY KEY ( tournament, round, parallel ),
        last_updated TIMESTAMP NOT NULL,
 
        PRIMARY KEY ( tournament, round, parallel ),