diff options
Diffstat (limited to 'www/wiki/maintenance/archives/patch-img_width.sql')
-rw-r--r-- | www/wiki/maintenance/archives/patch-img_width.sql | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/www/wiki/maintenance/archives/patch-img_width.sql b/www/wiki/maintenance/archives/patch-img_width.sql new file mode 100644 index 00000000..06889ea6 --- /dev/null +++ b/www/wiki/maintenance/archives/patch-img_width.sql @@ -0,0 +1,18 @@ +-- Extra image metadata, added for 1.5 + +-- NOTE: as by patch-img_media_type.sql, the img_type +-- column is no longer used and has therefore be removed from this patch + +ALTER TABLE /*$wgDBprefix*/image ADD ( + img_width int NOT NULL default 0, + img_height int NOT NULL default 0, + img_bits int NOT NULL default 0 +); + +ALTER TABLE /*$wgDBprefix*/oldimage ADD ( + oi_width int NOT NULL default 0, + oi_height int NOT NULL default 0, + oi_bits int NOT NULL default 0 +); + + |