* (bug 898) Mime type autodetection.
[lhc/web/wiklou.git] / maintenance / archives / patch-img_width.sql
1 -- Extra image metadata, added for 1.5
2
3 -- NOTE: as by patch-img_media_type.sql, the img_type
4 -- column is no longer used and has therefore be removed from this patch
5
6 ALTER TABLE /*$wgDBprefix*/image ADD (
7 img_width int(5) NOT NULL default 0,
8 img_height int(5) NOT NULL default 0,
9 img_bits int(5) NOT NULL default 0,
10 -- img_type int(5) NOT NULL default -1
11 );
12
13 ALTER TABLE /*$wgDBprefix*/oldimage ADD (
14 oi_width int(5) NOT NULL default 0,
15 oi_height int(5) NOT NULL default 0,
16 oi_bits int(3) NOT NULL default 0,
17 -- oi_type int(3) NOT NULL default 0
18 );
19
20