]> git.sesse.net Git - ccbs/commitdiff
Added a field in the bigscreen active groups allowing for versus play.
authorSteinar H. Gunderson <sesse@samfundet.no>
Fri, 4 Mar 2005 22:23:25 +0000 (22:23 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Fri, 4 Mar 2005 22:23:25 +0000 (22:23 +0000)
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 ),