]> git.sesse.net Git - pr0n/commitdiff
Fix a syntax error in the SQL.
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 30 Jul 2006 12:50:44 +0000 (14:50 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 30 Jul 2006 12:50:44 +0000 (14:50 +0200)
sql/pr0n.sql

index 5407ce812b1f043628044f760cdb8350dac15d79..c1349e7e4e5aea9ad58c382870bf70d653c28b54 100644 (file)
@@ -7,7 +7,7 @@ CREATE TABLE events (
 );
 
 CREATE TABLE images (
-    id integer serial NOT NULL PRIMARY KEY REFERENCES events(id),
+    id serial NOT NULL PRIMARY KEY REFERENCES events(id),
     event character varying NOT NULL,
     filename character varying NOT NULL,
     width integer DEFAULT -1 NOT NULL,