2005-04-10 18:29:30 +00:00
|
|
|
-- Extra image metadata, added for 1.5
|
|
|
|
|
|
2005-05-21 07:46:17 +00:00
|
|
|
-- NOTE: as by patch-img_media_type.sql, the img_type
|
|
|
|
|
-- column is no longer used and has therefore be removed from this patch
|
|
|
|
|
|
2005-04-10 18:29:30 +00:00
|
|
|
ALTER TABLE /*$wgDBprefix*/image ADD (
|
2007-06-22 20:09:59 +00:00
|
|
|
img_width int NOT NULL default 0,
|
|
|
|
|
img_height int NOT NULL default 0,
|
|
|
|
|
img_bits int NOT NULL default 0
|
2005-04-10 18:29:30 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
ALTER TABLE /*$wgDBprefix*/oldimage ADD (
|
2007-06-22 20:09:59 +00:00
|
|
|
oi_width int NOT NULL default 0,
|
|
|
|
|
oi_height int NOT NULL default 0,
|
|
|
|
|
oi_bits int NOT NULL default 0
|
2005-04-10 18:29:30 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
|