Flip the order of the fields in the exif_info primary key again; we need to delete...
[pr0n] / sql / upgrade-v3.11.sql
index 8f066aa1752b0ff98945d61212846d9e0c8414e1..94884d8dcc64eef373b78101f5e7076f1f97f0ea 100644 (file)
@@ -11,5 +11,4 @@ alter table deleted_images add column render_id integer;
 
 drop index exif_info_key;
 alter table exif_info drop constraint exif_info_pkey;
-alter table exif_info create primary key ( key, image );
-cluster exif_info_pkey on exif_info;
+alter table exif_info add primary key ( image, key );