]> git.sesse.net Git - ccbs/blobdiff - sql/ccbs.sql
Add information to the SQL schema saying when the group was last updated. Make the...
[ccbs] / sql / ccbs.sql
index 97bcd3f1be8c9b2a0e0dbcba2ec285240f785b0a..4a9f0a8efc258c40f70f314a172d09a9dc323a20 100644 (file)
@@ -175,8 +175,8 @@ CREATE TABLE bigscreen.active_groups (
        tournament INTEGER NOT NULL REFERENCES bigscreen.active_tournament,
        round INTEGER NOT NULL,
        parallel INTEGER NOT NULL,
+       last_updated TIMESTAMP NOT NULL,
 
        PRIMARY KEY ( tournament, round, parallel ),
        FOREIGN KEY ( tournament, round, parallel ) REFERENCES groups
 );
-);