patch-img_media_type.sql assumed that img_type field existed and dropped it.