Added a field in the bigscreen active groups allowing for versus play.
[ccbs] / sql / ccbs.sql
index c1848f7..839dd86 100644 (file)
@@ -177,6 +177,7 @@ CREATE TABLE bigscreen.active_groups (
        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 ),