- UNIQUE (tournament, round, parallel, player, songnumber),
- PRIMARY KEY (tournament, round, parallel, player, song)
+ PRIMARY KEY (tournament, round, parallel, player, songnumber)
+);
+
+CREATE TABLE randomsongsused (
+ song INTEGER NOT NULL PRIMARY KEY REFERENCES songs
+);
+
+CREATE SCHEMA bigscreen;
+
+CREATE TABLE bigscreen.active_tournament (
+ tournament INTEGER NOT NULL REFERENCES tournaments