Don't try to drop a column that doesn't exist. That's not helpful.
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Apr 2005 01:55:10 +0000 (01:55 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 22 Apr 2005 01:55:10 +0000 (01:55 +0000)
maintenance/archives/patch-img_exif.sql
maintenance/archives/patch-img_metadata.sql

index 277db44..2fd78f7 100644 (file)
@@ -1,5 +1,3 @@
--- Extra image exif metadata, added for 1.5
+-- Extra image exif metadata, added for 1.5 but quickly removed.
 
-ALTER TABLE /*$wgDBprefix*/image ADD (
-  img_exif mediumblob NOT NULL
-);
+ALTER TABLE /*$wgDBprefix*/image DROP img_exif;
index aee34c9..407e432 100644 (file)
@@ -1,8 +1,6 @@
 -- Moving img_exif to img_metadata, so the name won't be so confusing when we
 -- Use it for Ogg metadata or something like that.
 
-ALTER TABLE /*$wgDBprefix*/image DROP img_exif;
-
 ALTER TABLE /*$wgDBprefix*/image ADD (
   img_metadata mediumblob NOT NULL
 );