UNIQUE ( title )
);
--- CREATE TABLE machinesongs etc.
+CREATE TABLE machinesongs (
+ song INTEGER NOT NULL REFERENCES songs,
+ machine INTEGER NOT NULL REFERENCES machines,
+
+ PRIMARY KEY ( song, machine )
+);
CREATE TABLE scoringsystems (
scoringsystem SERIAL PRIMARY KEY,