]> git.sesse.net Git - pr0n/blobdiff - sql/pr0n.sql
Keep JPEGs in the YCbCr colorspace instead of going between YCbCr and RGB
[pr0n] / sql / pr0n.sql
index 318e9da0463fc271494887dcd8189652e5fb0587..7ce156a30a4ad2f7912f366414d68ee11b5d213c 100644 (file)
@@ -15,7 +15,7 @@ CREATE TABLE last_picture_cache (
    last_picture timestamp without time zone,
 
    PRIMARY KEY (vhost,event),
    last_picture timestamp without time zone,
 
    PRIMARY KEY (vhost,event),
-   FOREIGN KEY (vhost,event) REFERNECES events(vhost,event)
+   FOREIGN KEY (vhost,event) REFERENCES events(vhost,event)
 );
 
 CREATE TABLE images (
 );
 
 CREATE TABLE images (