]> git.sesse.net Git - ccbs/commitdiff
Added a primary key for the "active screens" table.
authorSteinar H. Gunderson <sesse@samfundet.no>
Mon, 28 Feb 2005 20:23:12 +0000 (20:23 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Mon, 28 Feb 2005 20:23:12 +0000 (20:23 +0000)
sql/ccbs.sql

index 3697f6e2544919bf1b0ad8b3af5b95b07b555787..c1848f79d6af846aba13c6f9775ba2591f69d592 100644 (file)
@@ -183,5 +183,5 @@ CREATE TABLE bigscreen.active_groups (
        FOREIGN KEY ( tournament, round, parallel ) REFERENCES groups
 );
 CREATE TABLE bigscreen.active_screens (
        FOREIGN KEY ( tournament, round, parallel ) REFERENCES groups
 );
 CREATE TABLE bigscreen.active_screens (
-       id VARCHAR NOT NULL
+       id VARCHAR NOT NULL PRIMARY KEY
 );
 );