Flip the order of the fields in the exif_info primary key again; we need to delete...
[pr0n] / sql / pr0n.sql
index 4729a37cdd9e9b71dbf2b922bd19fee46e66469e..371e05cf4fdfef765c35318276fef867dad6ac57 100644 (file)
@@ -77,7 +77,7 @@ CREATE TABLE exif_info (
     key varchar NOT NULL,
     value varchar NOT NULL,
 
-    PRIMARY KEY ( key, image )
+    PRIMARY KEY ( image, key )
 );
 
 CLUSTER exif_info_pkey ON exif_info;