piktak.sql - add fid_type, fid_thumb to posts