Syntax fixes.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sun, 13 Feb 2005 16:02:08 +0000 (16:02 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sun, 13 Feb 2005 16:02:08 +0000 (16:02 +0000)
ccbs.sql

index 0fc451b..b4622ce 100644 (file)
--- a/ccbs.sql
+++ b/ccbs.sql
@@ -7,9 +7,9 @@ CREATE TABLE songs (
 
 CREATE TABLE songratings (
        song INTEGER NOT NULL REFERENCES songs,
-       playmode VARCHAR NOT NULL CHECK playmode IN ('single','double'),
-       difficulty VARCHAR NOT NULL CHECK difficulty IN ('beginner','standard','difficult','expert','challenge'),
-       feetrating INTEGER NOT NULL CHECK (feetrating >= 0 AND feetrating <= 10)
+       playmode VARCHAR NOT NULL CHECK (playmode IN ('single','double')),
+       difficulty VARCHAR NOT NULL CHECK (difficulty IN ('beginner','standard','difficult','expert','challenge')),
+       feetrating INTEGER NOT NULL CHECK (feetrating >= 0 AND feetrating <= 10),
 
        PRIMARY KEY (song, playmode, difficulty)
 );